for browserify compatible
for browserify compatible