Refactor touch.js to be more efficently compressed (900b gzipped now)