combined location receiver and location ajax