Fix reset of jCounter onsubmit