Improve header html and fix bugs in IE