Added error handling to XHR in loadTextFileAsync, and corrected comments
Merge pull request #786 from shannonwoods/master

Added error handling to XHR in loadTextFileAsync, and corrected comments