adjust 2 js files