making events emit after userscript runs

goes with https://github.com/tessel/runtime/pull/649
Same here