Update index.php

Cleaned up js