Makes the javascript fully https ready.

Closes #50, @konklone is this all that was left for #50?
Though I think you should make these `https://` instead of `//`.