JS uifactory: init passes multiple arguments instead of an array
DAR-2414 fixing uiFactory.init calls to be compliant with the new version