widgetData better exist. We need to send an error to either the console or the browser if it does not exist.