Improved formmanager.js, unified and simplified methods.