Check Your JavaScript with JSHint, a Fork of Douglas Crockford's JSLint
Paul Irish and Anton Kovalyov have launched an online tool for checking your JavaScript code for errors and problems. JSHint aims to be more flexible and support more environments than JSLint, a similar tool created by Douglas Crockford.
Regarding the difference between JSHint and JSLint the JSHint website says “The most important difference is that JSHint is developed and supported by the JavaScript developer community and not by one very opinionated person.”