A JavaScript version of the Java HashMap