Use protocol relative url for googleapi ajax call