[edit] Prefer CommonJS over AMD when loading module

[edited]
The AMD/define option is used by default when using webpack, and it fails it can't find the other dependencies (eventEmitter and eventie).

The proposed fix is to prefer CommonJS over AMD when loading the module.
It's not really a solution to the underlying problem with the AMD loading, but now it loads fine on all webpack builds, without breaking anything for anyone else.