Adds touch support for js