Perlito5 - js - optimize throw() calls