looked at the loops to optimise a few and decided (after perf tests) that loops are better then forEach/filter. Added google closure compiler for the build process but kept the grunt uglyfy code if that is prefered.
updated the readme.md file, and added a test for no arguments passed.