add commonJS export in browser environment export

https://github.com/paperjs/paper.js/issues/461