Slim down AJAX requests, router, and mediator