unified js form handling in ri review form