fixed missing touch event raising an exception

this patch fixes

    jit.js:2293 TypeError: 'undefined' is not a function (evaluating 'this.config.onTouchCancel(this.touched, event, evt)')