75ca61159f
ScriptEnv as it was cannot work anymore. it's needed something that can replace it at least for event listeners (if we want to keep them)