use commonjs as the first option for module loading