This find operation is too big in scope (searching the whole DOM). Please try to limit to the part of the DOM where .olTileImage would be found (so from the current Geomap container if possible). Also should avoid using $(document) and use _pe.document instead (although neither should be used in this case).