Fixed bug in hashtable.js