Removed unnecessary check for jQuery.