rewrite touchGesture.connect to use addEventListener by default; fall back on document.onEvent on IE8