@Override
public void appendAttributesToResponse(WOResponse woresponse, WOContext wocontext) {
if (woresponse instanceof ERXResponse && JavaScript.removeLanguageAttribute) {
// 5.3 + 5.4 hackaround to pop the language attribute off of the script tag
ERXResponse response = (ERXResponse)woresponse;
response.pushContent();
super.appendAttributesToResponse(woresponse, wocontext);
String contentString = response.contentString();
String language = (String)_language.valueInComponent(wocontext.component());
Pattern pattern = Pattern.compile("\\s*language\\s*=\\s*\"?" + language + "\"?", Pattern.CASE_INSENSITIVE);
contentString = pattern.matcher(contentString).replaceFirst("");