Use `elseif` instead of `else if`
Put `else` and `elseif` on one line with `if`'s `}`