Remade HTML 5 compliant

Changes made while moving JavaScript out of index made index.html none
compliant with the w3c validator(unicorn).