fix for non standard values when simulating

fix for js error in treevisualiserdat widget when a simulation is running