Fix error when content wasn't set

If content was not set, content.$el gave `TypeError: Cannot read property '$el' of undefined`.