removing port and url from ajax call