How can I load the contents of a text file into a string in javascript?