Update index.php

code cleanup