making events emit after userscript runs

goes with https://github.com/tessel/runtime/pull/649
Throw an error if options isn't an object?