Most of this is borrowed wholesale from [mediaembedbody.html](https://github.com/reddit/reddit-public/blob/master/r2/r2/templates/mediaembedbody.html). I'm curious if there's a better way to inject that JS at the bottom and still have any... speed?... reasons that this is pretty bare.