modify the necessary javascripts files