Add slider example
Merge pull request #103 from box/slider-example

Add slider example
Add support for requiring viewer.js with CommonJS syntax