Fix globals, spacing, JSLint
Fix globals, spacing, JSLint

strrife/phpjs,MartinReidy/phpjs,Mazbaul/phpjs,cigraphics/phpjs,imshibaji/phpjs,davidgruebl/phpjs,VicAMMON/phpjs,chand3040/phpjs,praveenscience/phpjs,kvz/phpjs,w35l3y/phpjs,FlorinDragotaExpertvision/phpjs,FlorinDragotaExpertvision/phpjs,ajenkul/phpjs,hirak/phpjs,w35l3y/phpjs,revanthpobala/phpjs,imshibaji/phpjs,kvz/phpjs,cigraphics/phpjs,J2TeaM/phpjs,mojaray2k/phpjs,FlorinDragotaExpertvision/phpjs,MartinReidy/phpjs,hirak/phpjs,w35l3y/phpjs,revanthpobala/phpjs,VicAMMON/phpjs,J2TeaM/phpjs,cigraphics/phpjs,chand3040/phpjs,kvz/phpjs,davidgruebl/phpjs,w35l3y/phpjs,kvz/phpjs,strrife/phpjs,VicAMMON/phpjs,davidgruebl/phpjs,mojaray2k/phpjs,MartinReidy/phpjs,Mazbaul/phpjs,VicAMMON/phpjs,hirak/phpjs,J2TeaM/phpjs,janschoenherr/phpjs,praveenscience/phpjs,praveenscience/phpjs,imshibaji/phpjs,davidgruebl/phpjs,cigraphics/phpjs,Mazbaul/phpjs,imshibaji/phpjs,mojaray2k/phpjs,ajenkul/phpjs,strrife/phpjs,J2TeaM/phpjs,mojaray2k/phpjs,ajenkul/phpjs,Mazbaul/phpjs,chand3040/phpjs,janschoenherr/phpjs,strrife/phpjs,FlorinDragotaExpertvision/phpjs,janschoenherr/phpjs,MartinReidy/phpjs,revanthpobala/phpjs,janschoenherr/phpjs,hirak/phpjs,praveenscience/phpjs,ajenkul/phpjs,revanthpobala/phpjs