Changed ajax url to relative