Moved CSS files to head. Changed comments
Refactored Javascript for search.