add multiple instance of widget ui  fix 
add multiple instance of widget ui  fix for tabs in js