export.js: Export in all CommonJS environments

Closes #521
No more Narwhal, let's remove this.