Make it require-able for node-js