typeof(element) != 'undefined' && element != null