Updating js file