fixed a require bug and style issues
Merge branch 'aliyazdani/leadsUI' of github.com:Retsly/retsly-js-leads into aliyazdani/leadsUI