Code Editor : middleware.js