private boolean isJavascriptTag(HTMLSpecialNode item) { if (item == null) { return false; } if (!item.getName().equalsIgnoreCase("script")) // $NON-NLS-1$ { return false; } String type = item.getAttributeValue("type"); // $NON-NLS-1$ if (type != null && !HTMLParser.isJavaScript(item)) { return false; } return true; }