clean up scripts and links in application.html.erb