minor fix for commonjs non-amd exposure