Fix linting errors on .js