io.read.bind(io) was not having intended effect. strip out a lot of debugging. move fn.js out of foo for now.