Minor in JS backend: added missed test case -- `when` inside `when` w/o braces.