Added support for CommonJS
0.3.0