added commonjs and browser globals support
0.13.0