Bug fix for Scriptish_updateModifiedScripts handling of document-complete