make constructor work without `new`
Merge pull request #2 from juliangruber/patch-1

make constructor work without `new`