unneeded &amp; in javascript