Example for possible When JS bug.