extending java implementation of web ui, moving towards require.js usage