Update js file