tried adding javascripts to application.html.erb.