It's simply just a matter of liberals who got cute and voted for Jill Stein or write-ins actually bothering to vote for Hillary. They changed the entire narrative.
You could go with that. However, Trump won despite significant portions of his base voting for Hillary or Johnson. He also was outspent and had little to no ground game. It seems to me that there is much more to this story that Jill Stein. Trump being competitive at all is like Wake playing Alabama to overtime in football.