updating js

cm, embed