Changed the TagMap.js to receive JSON.