tweaked application.js and index.rb