Moved preview example to index.html

Issue #22