Use better cross-browser/node.js boilerplate for main library.