Patch 2

Improve header for new html live standart and php compatibilty