export.js: Export in all CommonJS environments

Closes #521
@d10 installing the other envs is still a blocker for this. Did you ever look into that install grunt task?