map.js move to the end of the page