Load scripts on demand - editor