as a first step try to open ui explorer indicate the element when check and uncheck and see what proeprty values are changing
that si the property that you need to check
as it is iframes and divs there might not be checked proeprties but the class might different etc which can trigger scripts
cheers