Moved javascripts out of erb files and into javascripts folder.