update embed text, initial js attempt