(1 of 2) add optional DJSCRIPT_GLOBALS_DICT for use in js global namespace  (2 of 2) raise exception upon stderr