moved embed JS to own file