Javascript Read File Contents Into Variable