Remove accidentally pasted comment.
Update JS maximization to work correctly with recursive portals.