mem.js now working