Update clearHistory.js