Small javascript hash table