add setup.js for editor