Modularize & AJAXify form