Fix #1104: Separate IRTrees and JSTrees.

also consider making it a one-liner with parens