9
JSLint is one way in which we are cleaning up our code in our app. It helps during code review and deciding a third party library is well coded or not. We also use IntelliJ IDEA's inspections which for the most part warns about the same issues. We are also using jQuery which has helped clean up a lot of code.