added docs to serialRead.js