JavaScript - Some JavaScript techniques you must know