Add js for editor