making events emit after userscript runs

goes with https://github.com/tessel/runtime/pull/649
Why nextTick here?