mem.sh to generate mem.js output automatically on a set of benchmarks.