This page says to enable the "Code Editor" item in preferences, but this is missing. ~~~~
Topic on Talk:Gadget kitchen/Flow
Appearance
It's probably on by default now. You can turn it on and off with the first button on top of the editor when editing a .js page.