add a JS function that will automatically append the URL API parameter t...

...o pass identities across domains