mem.js for new trace format