Fix up JS references to be protocol-agnostic (// instead of http://)