added get touch event function  to functions file js