Add mg.js to publish