embed code works in index.html, need to get to work in app.js