Check if this.element is null or undefined