add mmap for ablejs