Will asks Jack, "Did Spock hide his ears?" He actually did in Star Trek: The Voyage Home to hide the fact that he was a Vulcan from the residents of San Francisco in 1986.
At the beginning of the show, Jack says "If I wanted to look at Matthew McConaughey with his shirt on, I'd just look at Josh Lucas". Lucas would later co-star on The Mysteries of Laura (2014) with Debra Messing.