Update index.php

Redo javascript redirect