[javascript] Is there an "exists" function for jQuery?