Code Editor : functions.js