updates all js files