fixed js file and indent in index.php