make javascript and google custom-search xhtml-safe