Fixup

now runs on osx
npmjs ready

Cleaned up code to get ready for npmjs.org publishing
Merge pull request #2 from divanvisagie/master

npmjs ready