updates for requirejs build with sub modules