modified js scripts on application.html.erb