allow the remote to give a different Constructor

provide easy module creation as you'll see in webdriverjs-angular