Protocol agnostic reference to external javascript to use http/https when appropriate