fix all the javascripts