added functions to utils.js
refactoring of the questions title search view