dw_qsearch as jQuery function