highlight keywords in 'search result' and 'file view' page; bug fix for pdf view