Fixed a bug for cross-browser support of the maps