Implementation of Java Map object in JavaScript.