Updated Sample index.php to proper format on htmlpreview