Replace JavaScript by CoffeeScript.