Update readSearchHistory.js