some efficiency improvements (Match.js was creating a regex inside a loop), and added file TouchEvents.js