Analyzed #16. Library does work as expected with nodejs but not in browsers.

Tested with Chromium 30 and Firefox 25.