Fixed double map call, added a test link to try out the json return stuff. This is starting to get too advanced for a simple html page, either need to add routes and stuff or start working in the production repo.