Input is passed to the search function correctly.
Escaping characters that would cause problems  with regex in search()
function.
Switching to Google CDN version of jQuery UI library and CSS instead of local uncompressed versions.