Move inline script to CoffeeScript file.