Something like:
```javascript
evt = evt || {};
evt.type = type;
```
will do the trick!