Please replace the constructor reference.
```js
View.prototype = proto;
View.prototype.constructor = View;
```