Clean up ajax history