Fix global `readable` variable

Looks like a `var` statement was accidentally left out.