Refine function normalizeTouchend to contextMenu.js