Add AMD/require.js loading capability if present