$( function() {
    var breadcrumbEl = document.getElementsByClassName( "subpages" );
    if( breadcrumbEl ) {
        mw.loader.using( , function () {

            // If someone's already using the "U" access key, clear that
            var hasOurAccessKey = document.querySelectorAll( "a" );
            for( var i = 0; i < hasOurAccessKey.length; i++ ) {
                hasOurAccessKey.setAttribute( "accesskey", "" );
                $( hasOurAccessKey ).updateTooltipAccessKeys();
            }

            var lastSubpage = breadcrumbEl.children;
            lastSubpage.accessKey = "u";
            $( lastSubpage ).updateTooltipAccessKeys();
        } );
    }
} );