replaced local url to live (ajax)