Setup Ajax calls on History Page