Fix #2 10,000 entries crash browser issue

Reviewed-by: Boris Cherny <bcherny@turn.com>
Signed-off-by: Janet Jin <janet.jin@turn.com>