adding ajax map call, but broken