Hm, seems that is really a fragile thing, to go and see if the browser (or the device) currently support touch events. E.g. can happen that a running window is moved from a screen with touch support to one without. Or Chromium seems to just always have the touch API on starting with 24.0, independent of the actual display device (at least saw a few hints that the ontouchstart no longer works with it).