Downgrade to published loglevel and package.js cleanup