Pass in plugin initializer to AMD factory for module registering