Set up require.js and jqueryui widget