fix capitalization of JavaScript in text