Change js/css resource links to protocol-relative urls.

Fixes #367