cleanup rapid js base form error handling

Change-Id: I9150c7fdc977acf81cd4b2ce9f7ed5fca7cec092
Merge "cleanup rapid js base form error handling"