Refactor JSLint into an extension