Avoid protocol relative URL to support apps using file protocol
Merge pull request #1897 from tschaub/absolute

Don't use protocol relative URLs.