Now create this as a javascript Map object