Fix another JS generator typo in issue #1.