Switch order of if clause because of ie9

ie9 throws error when doing

$(zen('div').html(html).children()[0])

because div has .document in ie9