change map initialization

I tried to use Polymer but it out some errors :(
update