Probably it won't effect anything (this is also done in togetherjs.js), but it should actually fix the hash up, so it's more important when includeHashInUrl is true.  That is, you'll get a share link like `http://example.com/#/somepage&togetherjs=INVITE` – this rewrites it back to `http://example.com/#/somepage` undoing the invite code.