Pass an empty jQuery object instead of div if no element is specified