support commonjs in demo