Dynamically load embed javascript code

This will allow us to easily update javascript for embedded media