Define Touch

Define touch events function in JS