Fixed CommonJS export

Actually, the plugin won't get registered into jQuery when using CommonJS environments. This patch fixes it.