added reset function in inputGadgetParam.jsp