JavaScript: Binary Search in an Array of Objects | Hacker News Reader