for cache busting
- Core + common first, then feature-specific
- No blocking scripts in
File Organization Target:
/static/js/
├── common/ (ui.js, api.js, events.js, etc.)
├── ai2editor/ (core.js, popup.js, dock.js, etc.)
├── vendor/ (minified 3rd party if not CDN)
└── main.js (global init if needed)
When adding new JS:
- Create file in appropriate folder
- Add