Return undefined when document is not supported