Set constructor of JS hub proxies
- #3210