Change mode.js and documents