this.isLoaded = true; try{ this.onLoad.call(this); }catch(e){ console.error('Error '+this.widgetId+' running custom onLoad code'); }