Fixes #1.

Use protocols (http, *not* https) so that it works when index.html is
opened directly from browser and without a proper web server.