It can be, the reason I made it that way was so that you could pass options to it in two ways, data-attributes or through `"$('#blacklight-map').blacklight_leaflet_map({options:{option1: 'mapstuff'},geojson_docs: #{serialize_geojson}})`.  This is a typical pattern with leaflet and I was trying to maintain some of that pattern.