Testing javascript on index.php