Ajax calls were not host-agnostic.