Use JSHint instead of JSLint.