Make demo work in Firefox (s/innerText/innerHTML/)
Recompile with TypeScript 0.8.2.

It now produces proper 'else if' instead of lots of 'else' levels,
hooray!