use require.js only for widgets