demo of playing in an element
refactor mask, fix js_api issues, closes #21
merge
copy
Merge branch 'master' into gh-pages