Pointing package.json main to index, instead of sub.js which is reserved for the browser
Moved index.js back into lib and updated package now that I know how that works...