code: function removeEventLayerXY() {
    // remove layerX and layerY
    var all = $.event.props,
    len = all.length,
    res = [];
  
    while (len--) {
      var el = all[len];
      if (el != 'layerX' && el != 'layerY') res.push(el);
    }
    $.event.props = res;
  }
docs: Remove layerX and layerY from the jQuery event object, it causes heaps of deprecated
  warnings in WebKit browsers.
  See: http://stackoverflow.com/questions/7825448/webkit-issues-with-event-layerx-and-event-layery
  
  Can be removed when upgrading to jQuery 1.7+.