basic validation of elements to only display map if postcode custom meta exists
basic validation of element existence before running function