Moved response div from template macro to route function