When you do your javascript commands, you can initialize them on that time when you use them. That is what I do. Example:var tempVarVarmyvariable.setByVar(Varmyvariable);tempVar = Varmyvariable.value;Then with tempVar you can manipulate the data of the myvariable that was created with lectora and you can do this on demand. It cleans up some the calls for SCORM for example. (run the adl test suite and you will see what I mean)