[javascript] Difference between variable declaration syntaxes in Javascript (including global variables)?