moved script.js under /editor