reset value name adjusted for reset function in JS