added trim() and lower() to word searching
css tweaks