update index.html to work on either http or https
Merge pull request #56 from mikey0000/patch-1

update index.html to work on either http or https