Geolocation polyfill does not work with HTTPS

This polyfill does not work with HTTPS requests. For example IE8 reports the following errors:

    SEC7111: HTTPS security is compromised by http://freegeoip.net/json/?callback=jQuery19108828520477414441_1376291388049
    SEC7111: HTTPS security is compromised by http://www.google.com/jsapi

Both these reported URLs seem to be accessible via TLS.

* https://www.google.com/jsapi
* https://freegeoip.net/json/

So the easiest solution to me seems to just use schema-less URLs.