Is there any reason why the 'module name' isn't the plugin id (when loading JavaScript): https://github.com/apache/cordova-plugman/blob/master/src/prepare.js#L149
Looking at 'cordova_plugins.js', I initially thought I messed up somewhere in plugin.xml