passing the query text to header_view.js