Finish setting up ajax on dashboard.