works though can be improved
all modular now with browserify
Merge pull request #1 from sotoseattle/dev

works though can be improved