Fixed importing into commonjs environments
Merge pull request #9 from gnijor/master

Fixed importing into commonjs environments