javascript map set default value