Changed PHP code to JS code
Renamed tail.php to tail.html