imitating Joplin's scratchy singing voice. In 2007, Deschanel appeared in Bridge to Terabithia, in which she played a quirky music teacher, and the animated film Surf's Up, voicing a penguin. She took on the brief role of Dorothy Evans in the revisionist Western The Assassination of Jesse James by the Coward Robert Ford and starred in the B comedy Flakes, which was released in only one theater. Deschanel starred as DG in the Syfy miniseries Tin Man, a re-imagined science fiction version of The Wonderful Wizard of Oz. It aired in December 2007. Deschanel also narrated the children's book Players in Pigtails. She voiced Mary, Cletus's daughter in three episodes of The Simpsons since debuting on the April 27, 2008, episode, "Apocalypse Cow". In M. Night Shyamalan's thriller The Happening (2008), she starred opposite Mark Wahlberg as a couple trying to escape from an inexplicable natural disaster. Despite largely negative reviews, critic Roger Ebert felt that Wahlberg and Deschanel's performances "bring a quiet dignity to their characters", and globally, the film made US$163 million. She starred in the independent comedy Gigantic (2008), which screened at the Toronto International Film Festival and was distributed for a limited release in certain parts of the United States only. In the comedy Yes Man (also 2008), she played an unorthodox singer and the girlfriend of Jim Carrey's character. The film grossed US$223.1 million around the world. Deschanel reunited with Joseph Gordon-Levitt in the independent romantic drama about the development and demise of a relationship (500) Days of Summer (2009). The film garnered critical acclaim and became a "sleeper hit", earning over $60 million in worldwide returns, far exceeding its $7.5 million budget. Mark Adams of the Daily Mirror found the film to be a "modern romance for grown-ups" and a "sweet-natured, funny, deeply-romantic tale" blessed with "top-notch performances by Deschanel and Gordon-Levitt, who are both charming and have real chemistry". In December 2009, Deschanel guest-starred in a Christmas episode of the Fox crime procedural comedy-drama Bones, which was the first-ever on-screen pairing of the Deschanel sisters. 2010–present: New Girl and other projects Deschanel was originally the top choice for Janet van Dyne / The Wasp in an early draft of Joss Whedon's The Avengers in which she would have played a prominent role. However, once Scarlett Johansson was cast as Natasha Romanoff / Black Widow, Deschanel was no longer in consideration to portray the