CRM-13863 - Dashboard js - set class and trigger load event for widgets