added missing parameter in showNextTD and showBackTD to fix js error