prettify location names, integrate analysis in index.html via JSONP