Update io_async.js

number of newlines need to subtract 1