Perlito5 - js - fix context propagation in if()