Add Mem.js as memory management system