Javascript code can be tough to maintain.
I am looking for tools that will help me ensure a reasonable quality level.
So far I have found JsUNit, a very nice unit te
jslint4java has been mentioned a few times, I can't recall which version they added it, but there's actually a built in Maven task.
Traditionally with jslint4java and Maven, folks have used the antrun plugin to run the jslint4java ant task, however you can now configure it all in Maven and avoid that extra step.
http://docs.jslint4java.googlecode.com/git/2.0.2/maven.html