Fixed bug in JW.Map constructor.