Added multi-field form javascript