jQuery.fn.extend({

    position: function() {
        if ( !this[0] ) {
            return null;