remove commonjs supported,optimize code