Split Cedit into edit.js and home.js, move both to js/cntrl