$.trim search value

When you type white spaces ajaxSource executes the request, trim the val fix the problem

var query = $.trim(this.$element.val())