write a function of tabForward in eventUtil.js