Fix typo in readme

Fixed the ordering of the callbacks in the getBatch example code. My editor also removed some trailing whitespace :P