Made changes as commented in https://github.com/adityagodbole/formbuilder/pull/26