use google map dom listener to init map, rather than window.onload