Added a lot of hacky javascript to get maps to render. Will make the JS elegant and push a bit more functionality