Added IOS and touchscreen support - use selectionchange instead of mouse events. Added selectionchange polyfill for Firefox.