Whether it’s 1977 or 2015, Star Wars earns its popularity by understanding that audiences love heroes and happy endings