mode.js lab