Rolled back on previous commit and copied multiForm.js from sufia and modified it to suit need