delete the extra code from assets/javascripts/application.js