Fixes errors in IE 9+

Using util.inherits() instead of Object.__proto__ to copy EventEmitter methods to the UserLocation prototype. This should now work in a way that is compatible with IE 9+.