start add js for editor