New OutputPage::addJsConfigVars() method (bug 31233)