Remove raf.js from the karma config
Add shouldShowAnnotations method
Reset the viewer when a search is performed