Change touch detection check for ontouchstart in window like modernizr does. Fixes chrome touch emulation. Fixes #2277