DAR-1184, fix unit tests after changing error handling logic in UIfactory
DAR-1184: Factory unit tests and some small code fixes
DAR-1184, resolve promise after JS assets are loaded into DOM
DAR-1184: code review
Merge remote-tracking branch 'origin/DAR-1184' into DAR-1485