do you mean change the signature of new Karma to something like 

`window.karma = new Karma(socket, util.elm('context'), window.open, window.navigator, window.location);`