update js file for the parameters.