jslint: The JavaScript Verifier

Best practice for Javascript development