Update index.php

Fix javascript syntax error