Update js processForm for history recall