Expose plugin as an AMD module if AMD loader is present