How to Retreive the IS Url in Jquery ?

Hi Experts,

For my requirement i need to get the IS url say for e.g. http://: in jquery in order to do rest calls to IS from CAF .

Could some one help me on the same to achieve this please ?

Thanks in advance .

Regards,
Nischal