Add the coffee-rails gem
Convert all (empty) resource scripts from JavaScript to CoffeeScript
Extract the JavaScript code at the bottom of application.js into a new file