updating javascripts