Minor aesthetic fixes in javascript code
Changes in the CSS styles

Removed unnecesary styles, changed names to improve understanding, reordering styles, added comments in CSS file
Changes in templates for easing search results display and handling
Minor aesthetic change in template