A JavaScript implementation of a HashMap and a LinkedHashMap similar to Java's