cross browser support of httpRequest objects for reading user json file