Fix Widget.display for calling it with a string of the DOM ID

This is the fix for #749.