Corrects `add`

Corrects `add` when `content` is not a jQuery object and prepares `content`. See #215. I'll make a pull request for the tests separately.