Simple JavaScript Binary Search Library