change js to CoffeeScript