Reorganized example

Simplified the way the example.html file works. Adds ability to use
rawgit.com to preview master.