Update the javascript .jshint rules to more restrictive 

Update the .jshint rules highlighting potential javascript errors and standardising javascript coding styles.
JsHint works with all the standard java build tools and IDEs. So it makes it very easy to enforce standards because they are instantly highlighted in IDEs and the build tools fail the build if inconsistencies are found.

For more info on jshint options:
http://jshint.com/docs/options/