updated app/assets/javascripts/application.js