add require function into global
release 0.3.0