Removed bloat.
Converted php form class to form-js api.