if this JS is placed in DOM after map placeholder code "DOM ready" is not needed