Optimizing Search in JavaScript | Dark Hacker News