JS file and rubocop