put scripts on the bottom of index and rendered the DOM node map_canvas in the HTML