Restore the JS Spinning Cube demo

This version is only slightly changed from the original:
- Started with the JS content handler
- Uses classes, Application
- Improved resize handling

BUG=
R=aa@chromium.org

Review URL: https://codereview.chromium.org/788863003