Wrapped plugin in require.js calls to allow optional loading as a require.js module