Very simple method to check if an element exists using jQuery. Throw the following code at the beginning of your script:

jQuery.fn.exists = function(){ return this.length > 0; }

Then you can use it on any element throughout your code like this:

if ( $('blockquote').exists() ) {
	// do something
}