Fix application.js and application.rb