Switch order of if clause because of ie9

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