let's try and rework to use css classes instead of element ids to identify dom elements which correspond to particular script lines in the script view. using element ids will prevent multiple instances of the view from being active at the same time.