Hm, works fine here (Firefox on Ubuntu).
But getLine doesn't seem to be implemented, so there is output but not yet input :)