Using constructor.prototype instead of __proto__