Move src/javascript/editor.js -> src/javascript/main.js to fix module path issues