Optimize head ordering

Reordered `meta` tags in the `head` so that `charset` and `X-UA-Compatible` tags are defined first, preventing parser restarts and delayed page rendering in IE (and possibly other browsers).