Update public/header.php

Removing deprecated type tag, moving title before scripts call. Please use php include always with <?php instead of <?