change the return value of the constructor

change the return value of the constructor so the client can have access to the object prototype
Merge pull request #122 from basketofsoftkittens/patch-1

change the return value of the constructor