Moving the visual creation code into its own js file. I added back in the report select, and, when the selection changes, the visual is destroyed and recreated with the new json file.