Ensure $demo instance is a plain jQuery object, not a control. This is necessary for some of the tutorial steps.