Aziz, your code looks neatly laid out. But I would move the Javascript from the header to the end of the web page code since it should be loaded last.
I'm interested in looking at how Google does things since they don't always obey the "rules" of coding and are heavily into web page speed, especially with delivering search results.
The search page has almost no HTML:
Code:
<!doctype html><html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>Google</title><script>Some code</script>
Extreme on-page SEO maybe?