PhantomLint lets you do JS Lint checks against JavaScript files on command line using PhantomJS