edit.js became dashboard.js plus a few improvements.