reorganized helpers to be AMD modules

- reorganized helpers to be AMD modules
- adjusted Grunt src order so that dependencies are met