Improve editing of JavaScript and C++