making cube DOM events work for me
added DOM event changes to javascript
Merge pull request #8 from jfoote/master

Making DOM events work for me.