embed.js and downloads controller