Change span IDs into classes