Adding $.fn.isBlock and $.fn.isElement functions