add super messy logic for test.html to show map data of buddies given an id in get param