Fixed links to localhost in the htm versions of the examples. Now it should run on github (for example http://htmlpreview.github.io/)