Bugfix on app-module startup and require.js