This is a popular approach for testing touch online. This demo exists to quickly validate it for specific devices.
https://github.com/search?utf8=%E2%9C%93&q=return+%27ontouchstart%27+in+window+%7C%7C+%27onmsgesturechange%27+in+window%3B&type=Code&ref=searchresults