FIx missing touchend, code cleanup

- Workaround for missing touchends on iOS
- Move `PointerMap` and `SideTable` out of global scope and into `__PointerEventShim__`
- Remove the '!' in the license block