move constructor property to prototype, fixes #189