case-insensitive search fixed

Updated the search functionality. Changed the jQuery :contains selector
to be case-insensitive (lowercasing  contents matched elements and
search elements).