emergency fix
working towards removing d3.select's
Removed all d3.select statements and added unit test.

This ensures that multiple maps can be put on the same page without interferences