$(location) is a selector to instruct Query to refer to the DOM object called location. The object location is an object containing some properties, like href (see w3schools.com/jsref/obj_location.asp ) The property href indicates simply the URL opened in the browser window. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.