disable js for editor