Npm node, with i18n support

This brings in PR #1 as well as changes it to work on npm. In order to get it to work on the browser you could just use browserify, or web-pack. I have published it to npm, although I would be willing to transfer or add you to the ownership; whichever you prefer.