>>91407976in the show Scrubs, one of the main characters (Dr. Cox, played by John C. McCinley) befriends his brother-in-law named Ben Sullivan (played by Brendan Fraser). After beating leukemia once, Ben does not follow up on post-remission treatments and dies. Dr. Cox proceeds to imagine Ben hanging around for an episode or two, talking to an imaginary friend like Jack talks to Blue Jack.
When Cox finally attends Ben's funeral, he has a full-on conversation with the imaginary Ben as J.D., the main protagonist of the whole series, looks on and simply remarks: "Where do you think we are?"
that line - "Where do you think we are?" - has become a meme on 4chan as a response to whenever someone complains about objectionable content on the website. The reaction basically meaning "this is 4chan and you should expect the worst."
the fact that Jack screams "WHERE DO YOU THINK WE ARE" in this episode plays on references to the episode and the existing meme