fix use jquery $.map instead of javascript map
change map id for show