save coordmap in $el.data() so it can be dynamically retrieved

6161eaa was an inappropriate fix

(jcheng: cherry-picked from @yihui/master)