Make hosts/#/services and hosts/#/facts use AJAX