code: function (event) {
            var obj = event;
            if (event.targetTouches !== undefined) {
              obj = event.targetTouches.item(0);
            } else if (event.originalEvent !== undefined && event.originalEvent.targetTouches !== undefined) {
              obj = event.originalEvent.targetTouches.item(0);
            }
            return obj;
          }
docs: get the event object for touch.
  
  @param  {Object} event the touch event
  @return {Object} the touch event object.