Not an error, just a warning (map is used as an hashmap and the referenced key is missing, which is not unexpected).
You're getting it because you've got javascript.options.strict enabled, something you may prefer to turn off especially if you're concerned with performance.
Anyway, since in this case there's no performance penalty in turning this statement in a "check for key presence" one, this warning will go away in next release.