That makes sense to me.  I could imagine a future version where the JS for the mapview is a node package that we install into the ona-data app.