require.js now works with tomcat plugin