demo of playing in an element
refactor mask, fix js_api issues, closes #21
copy