This line is responsible for some of the missing line breaks. My simplified test, expected:

```js
if (x) {
  y();
} else {
  z();
}

element();
```

Actual:

```js
if (x) {
  y();
} else {
  z();
}element();
```

I've got a `quick.js` that I run format `bin/esformatter quick` to debug individual issues. Makes logging much more useful.