updates js files