JavaScript library for reading text from binary data