Some changes from browserify
Chrome extension is using node.js packages!