making ajax uri relative