ajax added in history.php