iPad functionality fix.
iPad browser is registering the event to element before elements exists, and PC/Mac browser is waiting for element to be created before registering events.
Added listener to DOMSubtreeModified event on document, and only when elements exists, registering the events.