Fix/add If Statment by changing index.html