Collapse iframe if empty with jQuery