commonjs client-side wrapper use case correction