Change position of title and charset meta tag and better support for HTML5