Wouldn't it be better to use the [npm package](https://npmjs.org/package/almond)?