updating mirror.js