added paginated hash table util for javascript