Update wrapper to prevent unintended circular dependencies

The wrapper code could cause circular dependencies for AMD loaders.
It doesn't include a dependencies argument in the call to
define, which will cause some loaders to scan the factory function for
require calls.