Use require instead of global for browserify