Use intuition from protocol-relative url

Prevent insecure content warnings and blocked script in Chrome.