Clean up JS linting errors.