replace the js file