Python Read Text File Into String Array In Javascript