Removed window.location.protocol from service URLs, from accidentally merging 7e68366