Added missing 'this'
Replace another this with self
Replace some double quotes with single quotes.
Log geolocation errors.