Combine nested `if` blocks in JS
Merge pull request #491 from purescript/collapse-nested-if

Combine nested `if` blocks in JS