replacing js files