making events emit after userscript runs

goes with https://github.com/tessel/runtime/pull/649
This needs to check for the 'script_running' event. Nothing else is checking for that.