Revert commit 587860844d32d6c6de21e43e9a120767d1e1aa6b which replaced $.each with Array.forEach. That commit broke limiting the CodeHintList to displaying at most maxResults hints.