updating  javascripts