added js to application.html.erb