Updating picMap.js as links not working