svir_viewer_sub.js - automate the creation of the data objects