HashTable implementation in javascript that can be used in both node and the browser.