SONAR-5052 Rework top search (remove prototype.js)