add an `return` to see if we can use `window.HTMLWidgets.widgets[i].returnValue` as our repository of returned objects