refactor: grunt, tests, less code
Merge pull request #2 from ajoslin/master

<3 thanks!