fixed envelope to support optional callback

Added
```javascript
done = done || function () {};
```
to `envelope.js` so that it doesn't error when no callback is passed in