util.createInstance updated till the latest version by JSA