Back functionality for Ajax calls.