use Function.prototype.bind in all geolocation code