Updating javascripts