updated the generated js file