JavaScript editing mode config