if ( value === undefined ) {
            attr = div.getAttribute( key );
            parsed = attr ? JSON.parse( attr ) : { expires: -1 };
            if ( parsed.expires && parsed.expires <= now ) {
                div.removeAttribute( key );