moved javascripts into main site