js translator: when with only else entry