Misc : jslint
Install
Must have node and npm installed first.
npm install -v install
Check if its installed globally
This will return the version too.
npm list -g jslint
Use It
Change directories to where the javascript file is.
jslint myscript.js
Actually jshint may be better
jslint only accepts spaces(not tabs), and complains about jquery
npm install -g jshint
jshint myscript.js