commented mirror.js