ajax: if url starts with / than add the current page's protocol and host