Created AJAX search functional template