incorrect use of promises is fixed
changed the css selector
Merge pull request #393 from scrollback/embed-test

incorrect use of promises is fixed