Use Jinja syntax in embed.js

This was introduced by a bad rebase that left the old Chameleon
tags in the script loader.