update embedding js file