Javascript errors once -> all Javascript code stops working in the document

My problem is, that every time I want to integrate Javascript in a Spotfire (7.0) Document and this script errors, ALL Javascript Code among the whole document stops working forever. Even when I change the script so it would normally work - it doesn’t.

This is very annoying because at the moment the only solution is to migrate all sheets and data tables to a completely new document or just to not use Javascript at all.
When all Scripts work and never returned errors there is no problem though.

Is there any functionality or button in Spotfire I have to press so the document is either set back to the state before the script was ran, or some kind of error cache which is supposed to be deleted?

Did anybody find a solution to that?

(1) Answer