Make example html portable.

This doesn't force localhost instead using location.

This enables eg tunneling to work correctly.
Merge pull request #65 from pnasrat/portable-example

Make example html portable.