making events emit after userscript runs

goes with https://github.com/tessel/runtime/pull/649
Having a userscript of this will immediately exit otherwise

```
var wifi = require('wifi-cc3000');

wifi.on('connect', function(err, data){
  console.log("got connected!", err, data);
  start();
});

function start(){
    console.log("start called");
}
```