refactored main.coffee for add condition
Fixed issue related to multilpe adding of unwanted conditions
Merge branch 'ci-874' of https://github.com/adityagodbole/formbuilder into ci-902_1