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.
Merge pull request #459 from jason0x43/master

Update wrapper to prevent unintended circular dependencies