update js file