fixing mm.js