Fixed small jslint issues