-[JAVASCRIPT][SYNTAX] Fixes various syntax mistakes that prevented some files from loading.
-[JAVASCRIPT] Fixed nasty infinite loop bug.