Fix #1104: Separate IRTrees and JSTrees.

OK.