! Fix search.js code climate issues.