Expose it as an AMD module,copy form jQuery.js