Remove useless directives in HTML header