Fix errors and warnings from the w3c validator