[NGRINDER-697] Fix unnecessray call to mmap and fix the IE compatibility issue