Added escape_javascript to some search.html views inline javascript.