Merged pull request #3, added test, updated npm
Merge branch 'gh-pages'