Make sure `ed` is a jQuery object.

Setup function expects `ed` to be a jQuery object.