update javascripts