Add a "mode" parameter to the data view, so that either list mode or map
mode can be specified before page load. Along with this, it made sense
to reorganize the code so that the map never actually loads and markers
are not added to the map when list mode is specified.