[#259] renderMap() function is declared before JSONP call.