updated javascripts