>From b91f2b68471d367c2f21a133c5320ecd0cce45f6 Mon Sep 17 00:00:00 2001
From: "Endi S. Dewata" <edewata@redhat.com>
Date: Tue, 21 Feb 2017 09:32:21 -0600
Subject: [PATCH] Added access banner for CA UI.

All pages in CA UI have been modified to retrieve access banner
and display it once at the beginning of the SSL connection.

https://fedorahosted.org/pki/ticket/2582
---
 base/ca/shared/webapps/ca/404.html                             |  8 ++++++--
 base/ca/shared/webapps/ca/500.html                             |  8 ++++++--
 base/ca/shared/webapps/ca/GenUnexpectedError.template          |  9 ++++++++-
 base/ca/shared/webapps/ca/admin/ca/EnrollSuccess.template      |  8 ++++++++
 base/ca/shared/webapps/ca/admin/ca/ImportAdminCert.template    |  6 ++++++
 base/ca/shared/webapps/ca/admin/ca/ImportCert.template         |  9 +++++++++
 base/ca/shared/webapps/ca/admin/ca/adminEnroll.html            |  6 ++++++
 .../ca/shared/webapps/ca/admin/ca/securitydomainlogin.template |  8 ++++++--
 base/ca/shared/webapps/ca/admin/ca/sendCookie.template         |  8 ++++++--
 base/ca/shared/webapps/ca/admin/index.jsp                      |  8 ++++++++
 base/ca/shared/webapps/ca/agent/GenError.template              |  6 ++++++
 base/ca/shared/webapps/ca/agent/GenPending.template            |  6 ++++++
 base/ca/shared/webapps/ca/agent/GenRejected.template           |  6 ++++++
 base/ca/shared/webapps/ca/agent/GenSuccess.template            |  6 ++++++
 base/ca/shared/webapps/ca/agent/GenSvcPending.template         |  8 ++++++++
 base/ca/shared/webapps/ca/agent/GenUnauthorized.template       |  6 ++++++
 base/ca/shared/webapps/ca/agent/GenUnexpectedError.template    |  8 ++++++++
 base/ca/shared/webapps/ca/agent/ca/EnrollSuccess.template      |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/ImportCert.template         |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/ListRequests.html           |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/ProfileApprove.template     |  8 ++++++++
 base/ca/shared/webapps/ca/agent/ca/ProfileList.template        |  8 ++++++++
 base/ca/shared/webapps/ca/agent/ca/ProfileProcess.template     |  8 ++++++++
 base/ca/shared/webapps/ca/agent/ca/ProfileReview.template      |  8 ++++++++
 base/ca/shared/webapps/ca/agent/ca/ProfileSelect.template      |  8 ++++++++
 base/ca/shared/webapps/ca/agent/ca/SrchCert.html               |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/SrchRequests.html           |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/SrchRevokeCert.html         |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/UpdateDir.html              |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/bulkissuance.template       |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/cloneRedirect.template      |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/confirmRevocation.template  |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/displayBySerial.template    |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/displayBySerial2.template   |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/displayCRL.template         |  6 ++++++
 .../shared/webapps/ca/agent/ca/displayCertFromRequest.template |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/error.template              |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/frameCRL.html               |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/frameDir.html               |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/frameDisplayCRL.html        |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/frameList.html              |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/frameListReq.html           |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/frameOCSP.html              |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/frameProfile.html           |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/frameRevoke.html            |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/frameSearch.html            |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/frameSrchRequests.html      |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/frameStats.html             |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/getOCSPInfo.template        |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/getStats.template           |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/index.jsp                   |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/menuCRL.html                |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/menuDir.html                |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/menuDisplayCRL.html         |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/menuList.html               |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/menuListReq.html            |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/menuOCSP.html               |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/menuProfile.html            |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/menuRevoke.html             |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/menuSearch.html             |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/menuSrchRequests.html       |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/menuStats.html              |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/monitor.html                |  8 ++++++--
 base/ca/shared/webapps/ca/agent/ca/monitor.template            |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/notImplemented.html         |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/processCertReq.template     |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/processReq.template         |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/queryBySerial.html          |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/queryCert.html              |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/queryCert.template          |  7 +++++++
 base/ca/shared/webapps/ca/agent/ca/queryReq.template           |  7 +++++++
 base/ca/shared/webapps/ca/agent/ca/reasonToRevoke.template     |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/revocationResult.template   |  7 +++++++
 base/ca/shared/webapps/ca/agent/ca/revokeBySerial.template     | 10 +++++++++-
 base/ca/shared/webapps/ca/agent/ca/revokeCert.html             |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/srchCert.template           |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/toDisplayCRL.template       |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/toUpdateCRL.template        |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/top.html                    |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/unrevocationResult.template |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/updateCRL.html              |  6 ++++++
 base/ca/shared/webapps/ca/agent/ca/updateCRL.template          |  9 ++++++++-
 base/ca/shared/webapps/ca/agent/ca/updateDir.template          |  9 ++++++++-
 base/ca/shared/webapps/ca/agent/header.template                |  8 ++++++--
 base/ca/shared/webapps/ca/agent/index.jsp                      |  8 ++++++++
 base/ca/shared/webapps/ca/agent/index.template                 |  8 ++++++--
 base/ca/shared/webapps/ca/agent/ports.template                 |  8 ++++++--
 base/ca/shared/webapps/ca/ee/GenError.template                 |  8 ++++++++
 base/ca/shared/webapps/ca/ee/GenPending.template               |  9 ++++++++-
 base/ca/shared/webapps/ca/ee/GenRejected.template              |  9 ++++++++-
 base/ca/shared/webapps/ca/ee/GenSuccess.template               |  9 ++++++++-
 base/ca/shared/webapps/ca/ee/GenSvcPending.template            |  9 ++++++++-
 base/ca/shared/webapps/ca/ee/GenUnauthorized.template          |  9 ++++++++-
 base/ca/shared/webapps/ca/ee/GenUnexpectedError.template       |  9 ++++++++-
 base/ca/shared/webapps/ca/ee/ca/AIMEnroll.html                 |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/CMCEnrollment.html             |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/CMCRevReq.html                 |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/CertBasedDualEnroll.html       |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/CertBasedEncryptionEnroll.html |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/CertBasedSingleEnroll.html     |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/ChallengeRevoke1.html          |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/DirPinUserEnroll.html          |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/DirUserEnroll.html             |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/DisplayCRL.html                |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/EnrollSuccess.template         |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/GetCAChain.html                |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/ImportAdminCert.template       |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/ImportCert.template            |  8 ++++++++
 base/ca/shared/webapps/ca/ee/ca/KeyRecovery.html               |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/ManCAEnroll.html               |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/ManObjSignEnroll.html          |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/ManRAEnroll.html               |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/ManServerEnroll.html           |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/ManUserEnroll.html             |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/OCSPResponder.html             |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/ObjSignPKCS10Enroll.html       |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/PortalEnrollment.html          |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/ProfileList.template           |  8 ++++++--
 base/ca/shared/webapps/ca/ee/ca/ProfileSelect.template         |  8 ++++++++
 base/ca/shared/webapps/ca/ee/ca/ProfileSubmit.html             |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/ProfileSubmit.template         |  8 ++++++++
 base/ca/shared/webapps/ca/ee/ca/RenewalSuccess.template        |  8 ++++++++
 base/ca/shared/webapps/ca/ee/ca/RevocationSuccess.template     |  8 ++++++++
 base/ca/shared/webapps/ca/ee/ca/UserRenewal.html               |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/UserRevocation.html            |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/bench2k.html                   |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/checkRequest.html              |  7 ++++++-
 base/ca/shared/webapps/ca/ee/ca/displayBySerial.template       |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/displayBySerial2.template      |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/displayCRL.template            |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/displayCaCert.template         |  6 ++++++
 .../ca/shared/webapps/ca/ee/ca/displayCertFromRequest.template |  8 ++++++++
 base/ca/shared/webapps/ca/ee/ca/enrollMenu.html                |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/index.jsp                      |  8 ++++++--
 base/ca/shared/webapps/ca/ee/ca/policyEnrollment/index.jsp     |  6 ++++++
 .../shared/webapps/ca/ee/ca/policyEnrollment/profileMenu.html  |  6 ++++++
 .../webapps/ca/ee/ca/policyEnrollment/retrievalMenu.html       |  6 ++++++
 .../webapps/ca/ee/ca/policyEnrollment/revocationMenu.html      |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/profileEnrollment/index.jsp    |  6 ++++++
 .../shared/webapps/ca/ee/ca/profileEnrollment/profileMenu.html |  6 ++++++
 .../webapps/ca/ee/ca/profileEnrollment/retrievalMenu.html      |  6 ++++++
 .../webapps/ca/ee/ca/profileEnrollment/revocationMenu.html     |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/profileMenu.html               |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/queryBySerial.html             |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/queryCert.html                 |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/queryCert.template             |  7 +++++++
 base/ca/shared/webapps/ca/ee/ca/reasonToRevoke.template        |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/recoveryMenu.html              |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/remoteAuthConfig.template      |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/renewalMenu.html               |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/requestStatus.template         |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/retrievalMenu.html             |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/revocationMenu.html            |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/revocationResult.template      |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/srchCert.html                  |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/srchCert.template              |  7 +++++++
 base/ca/shared/webapps/ca/ee/ca/tabs.html                      |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/toDisplayCRL.template          |  6 ++++++
 base/ca/shared/webapps/ca/ee/ca/unrevocationResult.template    |  7 +++++++
 base/ca/shared/webapps/ca/ee/index.jsp                         |  8 ++++++++
 base/ca/shared/webapps/ca/index.jsp                            |  8 ++++++++
 base/ca/shared/webapps/ca/services.template                    |  8 ++++++--
 162 files changed, 1040 insertions(+), 33 deletions(-)

diff --git a/base/ca/shared/webapps/ca/404.html b/base/ca/shared/webapps/ca/404.html
index 13c300a2c432b6c9bee7404c86f40045f78e002e..20ca305529144c9723bbe9a4cd833dca758c5613 100755
--- a/base/ca/shared/webapps/ca/404.html
+++ b/base/ca/shared/webapps/ca/404.html
@@ -25,8 +25,12 @@ var port = location.port;
 </script>
 
 <head>
-<script type="text/javascript" language="JavaScript" src="/pki/js/jquery.js"></script>
-<script type="text/javascript" language="JavaScript" src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 
 <script type="text/javascript" language="JavaScript">
 $(function() {
diff --git a/base/ca/shared/webapps/ca/500.html b/base/ca/shared/webapps/ca/500.html
index 2ada6842b10149e4364e96ab591d67db08231692..ecd46584043ea936590075eaefb497faf3f4802e 100755
--- a/base/ca/shared/webapps/ca/500.html
+++ b/base/ca/shared/webapps/ca/500.html
@@ -25,8 +25,12 @@ var port = location.port;
 </script>
 
 <head>
-<script type="text/javascript" language="JavaScript" src="/pki/js/jquery.js"></script>
-<script type="text/javascript" language="JavaScript" src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 
 <script type="text/javascript" language="JavaScript">
 $(function() {
diff --git a/base/ca/shared/webapps/ca/GenUnexpectedError.template b/base/ca/shared/webapps/ca/GenUnexpectedError.template
index 312559994fa961767c37578ea37bcd30ad0dc478..c7c978dd3f006d73d4acda06b67ab6ea3fc50b08 100644
--- a/base/ca/shared/webapps/ca/GenUnexpectedError.template
+++ b/base/ca/shared/webapps/ca/GenUnexpectedError.template
@@ -17,10 +17,17 @@
      --- END COPYRIGHT BLOCK --- -->
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <HTML>
+<head>
 <CMS_TEMPLATE>
 
 <TITLE>CA Processing Error!</TITLE>
-
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
+</head>
 <BODY BGCOLOR="white">
 
 <font size="+1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif">
diff --git a/base/ca/shared/webapps/ca/admin/ca/EnrollSuccess.template b/base/ca/shared/webapps/ca/admin/ca/EnrollSuccess.template
index 80c63322d9f5cdb81e53305811a63b92b15b49b8..913957a4e20efd2ed925d014312ec6040d37aa2f 100644
--- a/base/ca/shared/webapps/ca/admin/ca/EnrollSuccess.template
+++ b/base/ca/shared/webapps/ca/admin/ca/EnrollSuccess.template
@@ -17,11 +17,19 @@
      --- END COPYRIGHT BLOCK --- -->
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <HTML>
+<head>
 <CMS_TEMPLATE>
 
 <TITLE>
 CS Enroll Request Success
 </TITLE>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
+</head>
 
 <BODY bgcolor="white">
 
diff --git a/base/ca/shared/webapps/ca/admin/ca/ImportAdminCert.template b/base/ca/shared/webapps/ca/admin/ca/ImportAdminCert.template
index 5d1015424a87c05fe9623ada10358fd6987a5478..c9fead711479a20d5d83195e0aae58e1a35a66f9 100644
--- a/base/ca/shared/webapps/ca/admin/ca/ImportAdminCert.template
+++ b/base/ca/shared/webapps/ca/admin/ca/ImportAdminCert.template
@@ -21,6 +21,12 @@
 <TITLE>VBScript Administrator Certificate Enrollment
 </TITLE>
 <CMS_TEMPLATE>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT language="VBScript">
 <!--
                 Dim pkcs7
diff --git a/base/ca/shared/webapps/ca/admin/ca/ImportCert.template b/base/ca/shared/webapps/ca/admin/ca/ImportCert.template
index bb644ed9ea64204673a4bafa33f0e03c0197ae02..7188167586c33846d2c552efcc7158457839aa51 100644
--- a/base/ca/shared/webapps/ca/admin/ca/ImportCert.template
+++ b/base/ca/shared/webapps/ca/admin/ca/ImportCert.template
@@ -17,12 +17,21 @@
      --- END COPYRIGHT BLOCK --- -->
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <html>
+<head>
 <CMS_TEMPLATE>
 
 <TITLE>
 CS Enroll Request Success
 </TITLE>
 
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
+</head>
+
 <BODY bgcolor="white">
 
 <font size="+1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif">
diff --git a/base/ca/shared/webapps/ca/admin/ca/adminEnroll.html b/base/ca/shared/webapps/ca/admin/ca/adminEnroll.html
index a08d462fed968567e70419e44e417de52cdd678f..da81065db3a8aecf960a2b841d39de856e27dbd2 100644
--- a/base/ca/shared/webapps/ca/admin/ca/adminEnroll.html
+++ b/base/ca/shared/webapps/ca/admin/ca/adminEnroll.html
@@ -20,6 +20,12 @@
 <head>
 <TITLE>Admin Enrollment form.</TITLE>
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT LANGUAGE="JavaScript"></SCRIPT>
 <script LANGUAGE="JavaScript" SRC="/ca/admin/cms-funcs.js"></script>
 <SCRIPT LANGUAGE="JavaScript" SRC="/ca/admin/helpfun.js"></SCRIPT>
diff --git a/base/ca/shared/webapps/ca/admin/ca/securitydomainlogin.template b/base/ca/shared/webapps/ca/admin/ca/securitydomainlogin.template
index 3ea7cb2b4756ff2314bf9702a57b08be3e803bcf..90bbd1ac9451ebc7e2220a035b22aa30cba98477 100644
--- a/base/ca/shared/webapps/ca/admin/ca/securitydomainlogin.template
+++ b/base/ca/shared/webapps/ca/admin/ca/securitydomainlogin.template
@@ -19,8 +19,12 @@
 <html>
 <CMS_TEMPLATE>
   <head>
-<script type="text/javascript" language="JavaScript" src="/pki/js/jquery.js"></script>
-<script type="text/javascript" language="JavaScript" src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 
 <script type="text/javascript" language="JavaScript">
 $(function() {
diff --git a/base/ca/shared/webapps/ca/admin/ca/sendCookie.template b/base/ca/shared/webapps/ca/admin/ca/sendCookie.template
index e086cf8dd93f567c89149c5882ad39cac0c98eb3..7a55ad46203efa3ee1a1432d1989a95c3b737fd0 100644
--- a/base/ca/shared/webapps/ca/admin/ca/sendCookie.template
+++ b/base/ca/shared/webapps/ca/admin/ca/sendCookie.template
@@ -18,8 +18,12 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <html>
 <head>
-<script type="text/javascript" language="JavaScript" src="/pki/js/jquery.js"></script>
-<script type="text/javascript" language="JavaScript" src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 
 <script type="text/javascript" language="JavaScript">
 $(function() {
diff --git a/base/ca/shared/webapps/ca/admin/index.jsp b/base/ca/shared/webapps/ca/admin/index.jsp
index 30662d47aa6a0c3f7aafc03acf16b02cf2ac93bf..eae2da3c25ffaac82c434a5ef5137d9c3d635138 100644
--- a/base/ca/shared/webapps/ca/admin/index.jsp
+++ b/base/ca/shared/webapps/ca/admin/index.jsp
@@ -16,8 +16,16 @@
      All rights reserved.
      --- END COPYRIGHT BLOCK --- -->
 <html>
+<head>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <script lang="javascript">
     // redirect to 'ROOT'
     window.location = "/";
 </script>
+</head>
 </html>
diff --git a/base/ca/shared/webapps/ca/agent/GenError.template b/base/ca/shared/webapps/ca/agent/GenError.template
index 19f85f7abf2ca934db28c2e9eeda88c5183ac551..258e5d9f4d8a0cc8216f038bf1e4ef8a27105155 100644
--- a/base/ca/shared/webapps/ca/agent/GenError.template
+++ b/base/ca/shared/webapps/ca/agent/GenError.template
@@ -21,6 +21,12 @@
 <CMS_TEMPLATE>
 
 <TITLE>CA Agent Processing Error!</TITLE>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </HEAD>
 
 <BODY BGCOLOR="white">
diff --git a/base/ca/shared/webapps/ca/agent/GenPending.template b/base/ca/shared/webapps/ca/agent/GenPending.template
index 50d23ee3178e26886c9433a82a706d9a56d2b5e8..1f13946821fedd6efb6320350f6e6ae3659a8528 100644
--- a/base/ca/shared/webapps/ca/agent/GenPending.template
+++ b/base/ca/shared/webapps/ca/agent/GenPending.template
@@ -22,6 +22,12 @@
 
 <TITLE>CA Agent Request Pending</TITLE>
 
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </HEAD>
 <BODY bgcolor="white">
 
diff --git a/base/ca/shared/webapps/ca/agent/GenRejected.template b/base/ca/shared/webapps/ca/agent/GenRejected.template
index 81d12641aeadf2a4f8f470523c81b97524921cdb..f1ad2730a19a998d59d648b84fa67583a65488e9 100644
--- a/base/ca/shared/webapps/ca/agent/GenRejected.template
+++ b/base/ca/shared/webapps/ca/agent/GenRejected.template
@@ -21,6 +21,12 @@
 <CMS_TEMPLATE>
 
 <TITLE>CA Agent Request Rejected</TITLE>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </HEAD>
 
 <BODY bgcolor="white">
diff --git a/base/ca/shared/webapps/ca/agent/GenSuccess.template b/base/ca/shared/webapps/ca/agent/GenSuccess.template
index f3531f0b93e8c2b1fb8fba8bfa81c20037ea9084..a1ed733d655630a0e9893279d74afaf78e9b9ca7 100644
--- a/base/ca/shared/webapps/ca/agent/GenSuccess.template
+++ b/base/ca/shared/webapps/ca/agent/GenSuccess.template
@@ -22,6 +22,12 @@
 <CMS_TEMPLATE>
 
 <TITLE>CA Agent Generic Request Success</TITLE>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </HEAD>
 
 <BODY BGCOLOR=white>
diff --git a/base/ca/shared/webapps/ca/agent/GenSvcPending.template b/base/ca/shared/webapps/ca/agent/GenSvcPending.template
index 584402c698493b428677bb6711dabb5e4e86ef65..a1e90f8064cf5f207f5d2f5110f47fbabe6e3ac1 100644
--- a/base/ca/shared/webapps/ca/agent/GenSvcPending.template
+++ b/base/ca/shared/webapps/ca/agent/GenSvcPending.template
@@ -17,9 +17,17 @@
      --- END COPYRIGHT BLOCK --- -->
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <HTML>
+<head>
 <CMS_TEMPLATE>
 
 <TITLE>CA Agent Request Svc Pending</TITLE>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
+</head>
 
 <BODY bgcolor="white">
 
diff --git a/base/ca/shared/webapps/ca/agent/GenUnauthorized.template b/base/ca/shared/webapps/ca/agent/GenUnauthorized.template
index f0016cdfa106fadc9f4df3a864b220ce2a1756b9..df20d6bfafc101c1be4559b5087356bbd4b492be 100644
--- a/base/ca/shared/webapps/ca/agent/GenUnauthorized.template
+++ b/base/ca/shared/webapps/ca/agent/GenUnauthorized.template
@@ -22,6 +22,12 @@
 <CMS_TEMPLATE>
 
 <TITLE>CA Agent Generic Unauthorized</TITLE>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <BODY BGCOLOR=white>
diff --git a/base/ca/shared/webapps/ca/agent/GenUnexpectedError.template b/base/ca/shared/webapps/ca/agent/GenUnexpectedError.template
index 58534e03b2dfb4656aa8127a33a1a7a6e4e94c85..3762a4ebdbbedd6052b7d83902acc668c46b76f7 100644
--- a/base/ca/shared/webapps/ca/agent/GenUnexpectedError.template
+++ b/base/ca/shared/webapps/ca/agent/GenUnexpectedError.template
@@ -17,9 +17,17 @@
      --- END COPYRIGHT BLOCK --- -->
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <HTML>
+<head>
 <CMS_TEMPLATE>
 
 <TITLE>CA Agent Processing Error!</TITLE>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
+</head>
 
 <BODY BGCOLOR="white">
 
diff --git a/base/ca/shared/webapps/ca/agent/ca/EnrollSuccess.template b/base/ca/shared/webapps/ca/agent/ca/EnrollSuccess.template
index 44aecd152d60db833fd423457555f9b0096afd76..d3ccad4d8120a2ae48a961c4d53c4ba3c7e1674d 100644
--- a/base/ca/shared/webapps/ca/agent/ca/EnrollSuccess.template
+++ b/base/ca/shared/webapps/ca/agent/ca/EnrollSuccess.template
@@ -24,6 +24,12 @@
 CS Enroll Request Success
 </TITLE>
 
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </HEAD>
 
 <BODY bgcolor="white">
diff --git a/base/ca/shared/webapps/ca/agent/ca/ImportCert.template b/base/ca/shared/webapps/ca/agent/ca/ImportCert.template
index 33a1444609f56e2d1fe3601bd5b0e690e7dfeaa7..eccf947c01d5340bb65d95579f09a13a6e4405f8 100644
--- a/base/ca/shared/webapps/ca/agent/ca/ImportCert.template
+++ b/base/ca/shared/webapps/ca/agent/ca/ImportCert.template
@@ -22,6 +22,12 @@
 <TITLE>
 CS Enroll Request Success
 </TITLE>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </HEAD>
 
 <BODY bgcolor="white">
diff --git a/base/ca/shared/webapps/ca/agent/ca/ListRequests.html b/base/ca/shared/webapps/ca/agent/ca/ListRequests.html
index 882f43ee306da46752cc9106d5d5fcccfffaff57..5ad996415a23a7335b0d42bc84d17ecd3f2cb2eb 100644
--- a/base/ca/shared/webapps/ca/agent/ca/ListRequests.html
+++ b/base/ca/shared/webapps/ca/agent/ca/ListRequests.html
@@ -20,6 +20,12 @@
 <HEAD>
 <TITLE>List Certificate Service Requests</TITLE>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT type="text/javascript" SRC="/ca/agent/funcs.js"></SCRIPT>
 <SCRIPT type="text/javascript" SRC="/ca/agent/helpfun.js"></SCRIPT>
 <script type="text/javascript">
diff --git a/base/ca/shared/webapps/ca/agent/ca/ProfileApprove.template b/base/ca/shared/webapps/ca/agent/ca/ProfileApprove.template
index ff8613b42469a52ae2f2b10e5dd7466e7eca10b1..ed7eb7f3595119a586e95aba9ab6f4b0a2e1c73e 100644
--- a/base/ca/shared/webapps/ca/agent/ca/ProfileApprove.template
+++ b/base/ca/shared/webapps/ca/agent/ca/ProfileApprove.template
@@ -17,6 +17,14 @@
      --- END COPYRIGHT BLOCK --- -->
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <html>
+<head>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
+</head>
 <CMS_TEMPLATE>
 <font size="+1" face="PrimaSans BT, Verdana, sans-serif">Manage Certificate Profiles<br></font>
 <font size="-1" face="PrimaSans BT, Verdana, sans-serif">
diff --git a/base/ca/shared/webapps/ca/agent/ca/ProfileList.template b/base/ca/shared/webapps/ca/agent/ca/ProfileList.template
index 42e0f5cb3cf00e5323750c22acdf1a3d47b4f7da..f01264aaee2b44efbf3e257b22aedaa96a0459bc 100644
--- a/base/ca/shared/webapps/ca/agent/ca/ProfileList.template
+++ b/base/ca/shared/webapps/ca/agent/ca/ProfileList.template
@@ -17,6 +17,14 @@
      --- END COPYRIGHT BLOCK --- -->
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <html>
+<head>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
+</head>
 <CMS_TEMPLATE>
 <font size="+1" face="PrimaSans BT, Verdana, sans-serif">Manage Certificate Profiles<br></font>
 <font size="-1" face="PrimaSans BT, Verdana, sans-serif">
diff --git a/base/ca/shared/webapps/ca/agent/ca/ProfileProcess.template b/base/ca/shared/webapps/ca/agent/ca/ProfileProcess.template
index 95c38b2f3aca7f3103629322ee70f81620e301c2..5cb9aff0119f8d91e7928ec4ccbd1b8593c8fcc5 100644
--- a/base/ca/shared/webapps/ca/agent/ca/ProfileProcess.template
+++ b/base/ca/shared/webapps/ca/agent/ca/ProfileProcess.template
@@ -17,6 +17,14 @@
      --- END COPYRIGHT BLOCK --- -->
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <html>
+<head>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
+</head>
 <CMS_TEMPLATE>
 
 <script type="text/javascript">
diff --git a/base/ca/shared/webapps/ca/agent/ca/ProfileReview.template b/base/ca/shared/webapps/ca/agent/ca/ProfileReview.template
index d3b9970265cc3d2a6eaaa209246cccc1548a33e3..7e3cab0badd7d6557c35b98806d94017b7b07cff 100644
--- a/base/ca/shared/webapps/ca/agent/ca/ProfileReview.template
+++ b/base/ca/shared/webapps/ca/agent/ca/ProfileReview.template
@@ -17,6 +17,14 @@
      --- END COPYRIGHT BLOCK --- -->
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <html>
+<head>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
+</head>
 <CMS_TEMPLATE>
 <style>
 TABLE { border-spacing: 0 0; }
diff --git a/base/ca/shared/webapps/ca/agent/ca/ProfileSelect.template b/base/ca/shared/webapps/ca/agent/ca/ProfileSelect.template
index 87bf61f45096151f90b773c74c3b6b922f8a5be2..061fad89af6504ac723fc2c1d26e0354e7ed8bce 100644
--- a/base/ca/shared/webapps/ca/agent/ca/ProfileSelect.template
+++ b/base/ca/shared/webapps/ca/agent/ca/ProfileSelect.template
@@ -17,6 +17,14 @@
      --- END COPYRIGHT BLOCK --- -->
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <html>
+<head>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
+</head>
 <CMS_TEMPLATE>
 <font size="+1" face="PrimaSans BT, Verdana, sans-serif">Approve Certificate Profile<br></font>
 <font size="-1" face="PrimaSans BT, Verdana, sans-serif">
diff --git a/base/ca/shared/webapps/ca/agent/ca/SrchCert.html b/base/ca/shared/webapps/ca/agent/ca/SrchCert.html
index f3c8db0264a2ea88d994771d3e84d3cd90723d6e..3b8912110cacd1c81069571c1d52e53d923a487b 100644
--- a/base/ca/shared/webapps/ca/agent/ca/SrchCert.html
+++ b/base/ca/shared/webapps/ca/agent/ca/SrchCert.html
@@ -21,6 +21,12 @@
    <title>Search for Certificates</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <script type="text/javascript" SRC="/ca/agent/funcs.js"></script>
 <script type="text/javascript" SRC="/ca/agent/helpfun.js"></script>
 </head>
diff --git a/base/ca/shared/webapps/ca/agent/ca/SrchRequests.html b/base/ca/shared/webapps/ca/agent/ca/SrchRequests.html
index 08433aa7d30d6090c38589a6ec08a15484a489b9..91f3e2f7792dbb350fcd82febc15b3307a5033b1 100644
--- a/base/ca/shared/webapps/ca/agent/ca/SrchRequests.html
+++ b/base/ca/shared/webapps/ca/agent/ca/SrchRequests.html
@@ -21,6 +21,12 @@
    <title>Search for Requests</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <script type="text/javascript" SRC="/ca/agent/funcs.js"></script>
 <script type="text/javascript" SRC="/ca/agent/helpfun.js"></script>
 </head>
diff --git a/base/ca/shared/webapps/ca/agent/ca/SrchRevokeCert.html b/base/ca/shared/webapps/ca/agent/ca/SrchRevokeCert.html
index 4f11ddf334d77f4ab828147b73e03feef72bdf60..e6a3abe1a3a706d6b4be9823d4f94502fc45553f 100644
--- a/base/ca/shared/webapps/ca/agent/ca/SrchRevokeCert.html
+++ b/base/ca/shared/webapps/ca/agent/ca/SrchRevokeCert.html
@@ -21,6 +21,12 @@
    <title>Revoke Certificates</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <script type="text/javascript" SRC="/ca/agent/funcs.js"></script>
 <script type="text/javascript" SRC="/ca/agent/helpfun.js"></script>
 </head>
diff --git a/base/ca/shared/webapps/ca/agent/ca/UpdateDir.html b/base/ca/shared/webapps/ca/agent/ca/UpdateDir.html
index 1fb9541cdf058986e59411326cee6ca0cb5c8da7..059425d95da482f88110c8f48841ab9109f2f7bb 100644
--- a/base/ca/shared/webapps/ca/agent/ca/UpdateDir.html
+++ b/base/ca/shared/webapps/ca/agent/ca/UpdateDir.html
@@ -21,6 +21,12 @@
    <TITLE>Update Directory Server</TITLE>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT type="text/javascript" SRC="/ca/agent/funcs.js"></SCRIPT>
 <SCRIPT type="text/javascript" SRC="/ca/agent/helpfun.js"></SCRIPT>
 
diff --git a/base/ca/shared/webapps/ca/agent/ca/bulkissuance.template b/base/ca/shared/webapps/ca/agent/ca/bulkissuance.template
index 01f57455db49e13e1d7e381b15f59cdda4d018a3..41734cd8314e6bf8e00eb08434838aec9bf9047f 100644
--- a/base/ca/shared/webapps/ca/agent/ca/bulkissuance.template
+++ b/base/ca/shared/webapps/ca/agent/ca/bulkissuance.template
@@ -19,6 +19,12 @@
 <HTML>
 <HEAD>
 <CMS_TEMPLATE>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </HEAD>
 </HTML>
 
diff --git a/base/ca/shared/webapps/ca/agent/ca/cloneRedirect.template b/base/ca/shared/webapps/ca/agent/ca/cloneRedirect.template
index 0f1ad7812e335aba2ef92dbb98d393fa8ad9e53b..ac92f670db139f9900a1d6d4e34e933eac49ffaa 100644
--- a/base/ca/shared/webapps/ca/agent/ca/cloneRedirect.template
+++ b/base/ca/shared/webapps/ca/agent/ca/cloneRedirect.template
@@ -19,6 +19,12 @@
 <HTML>
 <HEAD><TITLE> Feature Unavailable to Clones</TITLE>
 <CMS_TEMPLATE>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </HEAD>
 <BODY bgcolor="white">
 <font size="+1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif">
diff --git a/base/ca/shared/webapps/ca/agent/ca/confirmRevocation.template b/base/ca/shared/webapps/ca/agent/ca/confirmRevocation.template
index c1061affac70de0460647ed4ebff66b2561b0d22..450bee7dd833ac74e1545052c933307985e6954a 100644
--- a/base/ca/shared/webapps/ca/agent/ca/confirmRevocation.template
+++ b/base/ca/shared/webapps/ca/agent/ca/confirmRevocation.template
@@ -21,6 +21,12 @@
 <CMS_TEMPLATE>
 <TITLE>Certificate Revocation Confirmation</TITLE>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT type="text/javascript">
 //<!--
 function validate(form)
diff --git a/base/ca/shared/webapps/ca/agent/ca/displayBySerial.template b/base/ca/shared/webapps/ca/agent/ca/displayBySerial.template
index 0c7a904930b1543186d0234a75bf9b64436dd6e2..4c4b18e37b578d3d318e711fd3d0d24036513df7 100644
--- a/base/ca/shared/webapps/ca/agent/ca/displayBySerial.template
+++ b/base/ca/shared/webapps/ca/agent/ca/displayBySerial.template
@@ -21,6 +21,12 @@
    <title>Display Certificate</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <CMS_TEMPLATE>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 
diff --git a/base/ca/shared/webapps/ca/agent/ca/displayBySerial2.template b/base/ca/shared/webapps/ca/agent/ca/displayBySerial2.template
index f0604ef7fc3a7a9ec4c1dd016f0652c507e204dd..a5bb4e4ec35034e4a1b49db923ee38ad003f47bf 100644
--- a/base/ca/shared/webapps/ca/agent/ca/displayBySerial2.template
+++ b/base/ca/shared/webapps/ca/agent/ca/displayBySerial2.template
@@ -21,6 +21,12 @@
    <title>Display Certificate</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <CMS_TEMPLATE>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 
diff --git a/base/ca/shared/webapps/ca/agent/ca/displayCRL.template b/base/ca/shared/webapps/ca/agent/ca/displayCRL.template
index 988c6db51ff77147ec792476964aba14135e41ea..6843564cc413f763c4d2418081215905c0a84b3f 100644
--- a/base/ca/shared/webapps/ca/agent/ca/displayCRL.template
+++ b/base/ca/shared/webapps/ca/agent/ca/displayCRL.template
@@ -20,6 +20,12 @@
 <head>
    <title>Display CRL</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT type="text/javascript" SRC="../helpfun.js"></SCRIPT>
 <SCRIPT type="text/javascript">
 <!--
diff --git a/base/ca/shared/webapps/ca/agent/ca/displayCertFromRequest.template b/base/ca/shared/webapps/ca/agent/ca/displayCertFromRequest.template
index 402154037790343061dc4a711de0d0fba738dbf2..8aa303d4335f0573bc7207a6bb924af6d1339c0c 100644
--- a/base/ca/shared/webapps/ca/agent/ca/displayCertFromRequest.template
+++ b/base/ca/shared/webapps/ca/agent/ca/displayCertFromRequest.template
@@ -23,6 +23,12 @@
 CS Enroll Request Success
 </TITLE>
 
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <script type="text/javascript">
 
 function navMajorVersion()
diff --git a/base/ca/shared/webapps/ca/agent/ca/error.template b/base/ca/shared/webapps/ca/agent/ca/error.template
index b1940a820fae70e90638652bcc0da6f6c9fd4766..f281f592fe28375bedf5ad3a64bda9bc9f264865 100644
--- a/base/ca/shared/webapps/ca/agent/ca/error.template
+++ b/base/ca/shared/webapps/ca/agent/ca/error.template
@@ -20,6 +20,12 @@
 <HEAD>
 <CMS_TEMPLATE>
 <TITLE>Certificate Service Error</TITLE>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </HEAD>
 <BODY bgcolor="white">
 <center><h2><b>Problem Processing Your Request</b></h2></center>
diff --git a/base/ca/shared/webapps/ca/agent/ca/frameCRL.html b/base/ca/shared/webapps/ca/agent/ca/frameCRL.html
index a0483c7e414ac81d179de5fa3cdbb3e6b04ebeb8..18aacfba190804f2f5f53737076cb5745a5f903e 100644
--- a/base/ca/shared/webapps/ca/agent/ca/frameCRL.html
+++ b/base/ca/shared/webapps/ca/agent/ca/frameCRL.html
@@ -20,6 +20,12 @@
 <head>
 <title>Untitled Document</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <frameset cols="140,1*" border="0" frameborder="NO">
diff --git a/base/ca/shared/webapps/ca/agent/ca/frameDir.html b/base/ca/shared/webapps/ca/agent/ca/frameDir.html
index bcf5df10eb8f4dee059ad72a24cc736e633ea090..4fccafec2af5d4838d9cbea7c9b87c1bfd92c196 100644
--- a/base/ca/shared/webapps/ca/agent/ca/frameDir.html
+++ b/base/ca/shared/webapps/ca/agent/ca/frameDir.html
@@ -20,6 +20,12 @@
 <head>
 <title>Untitled Document</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <frameset cols="140,1*" border="0" frameborder="NO"> 
diff --git a/base/ca/shared/webapps/ca/agent/ca/frameDisplayCRL.html b/base/ca/shared/webapps/ca/agent/ca/frameDisplayCRL.html
index 79a11aab6dcdb4b9698a67e45863d0706225e1bc..36f4f012da48b17b8d374fb6c824e911bd00ea8f 100644
--- a/base/ca/shared/webapps/ca/agent/ca/frameDisplayCRL.html
+++ b/base/ca/shared/webapps/ca/agent/ca/frameDisplayCRL.html
@@ -20,6 +20,12 @@
 <head>
 <title>Untitled Document</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <frameset cols="140,1*" border="0" frameborder="NO">
diff --git a/base/ca/shared/webapps/ca/agent/ca/frameList.html b/base/ca/shared/webapps/ca/agent/ca/frameList.html
index 98f514696eb986ed3631b4de956e1e84c0a3ab23..059e435692bf85a013b500e9c37f25a6b160f635 100644
--- a/base/ca/shared/webapps/ca/agent/ca/frameList.html
+++ b/base/ca/shared/webapps/ca/agent/ca/frameList.html
@@ -20,6 +20,12 @@
 <head>
 <title>Untitled Document</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <frameset cols="140,1*" border="0" frameborder="NO">
diff --git a/base/ca/shared/webapps/ca/agent/ca/frameListReq.html b/base/ca/shared/webapps/ca/agent/ca/frameListReq.html
index c4b3d1e6247a13bf8dffcd0ffd804cf65f3bcd1c..f9ca13e88ee8c7a13a4ac0479a047b4415e97101 100644
--- a/base/ca/shared/webapps/ca/agent/ca/frameListReq.html
+++ b/base/ca/shared/webapps/ca/agent/ca/frameListReq.html
@@ -20,6 +20,12 @@
 <head>
 <title>Untitled Document</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <frameset cols="140,1*" border="0" frameborder="NO">
diff --git a/base/ca/shared/webapps/ca/agent/ca/frameOCSP.html b/base/ca/shared/webapps/ca/agent/ca/frameOCSP.html
index 8cc976d028c16e43b3ffa41660c690a1a831cc58..234a2ef4d7473aa4f883df4334ad26213dc4a2fe 100644
--- a/base/ca/shared/webapps/ca/agent/ca/frameOCSP.html
+++ b/base/ca/shared/webapps/ca/agent/ca/frameOCSP.html
@@ -20,6 +20,12 @@
 <head>
 <title>Untitled Document</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <frameset cols="140,1*" border="0" frameborder="NO">
diff --git a/base/ca/shared/webapps/ca/agent/ca/frameProfile.html b/base/ca/shared/webapps/ca/agent/ca/frameProfile.html
index 2a15bae4ce86c1b4258cf5c8ab4eb918eeb92b64..8e8d6326c38c78173db2ed3c6cfd1bca1cbd9d0d 100644
--- a/base/ca/shared/webapps/ca/agent/ca/frameProfile.html
+++ b/base/ca/shared/webapps/ca/agent/ca/frameProfile.html
@@ -20,6 +20,12 @@
 <head>
 <title>Untitled Document</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <frameset cols="140,1*" border="0" frameborder="NO">
diff --git a/base/ca/shared/webapps/ca/agent/ca/frameRevoke.html b/base/ca/shared/webapps/ca/agent/ca/frameRevoke.html
index ebaee6df80ae1f2d615aa7c45393814973835c83..b951cbbb8b9e3a19a7171016220ff2a932315c2a 100644
--- a/base/ca/shared/webapps/ca/agent/ca/frameRevoke.html
+++ b/base/ca/shared/webapps/ca/agent/ca/frameRevoke.html
@@ -20,6 +20,12 @@
 <head>
 <title>Untitled Document</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <frameset cols="140,1*" border="0" frameborder="NO"> 
diff --git a/base/ca/shared/webapps/ca/agent/ca/frameSearch.html b/base/ca/shared/webapps/ca/agent/ca/frameSearch.html
index b75a6272bb52c135d23b4d76dc9ac970da5443f1..73dbbfe84742397203f5b1f94abae4c081b948a3 100644
--- a/base/ca/shared/webapps/ca/agent/ca/frameSearch.html
+++ b/base/ca/shared/webapps/ca/agent/ca/frameSearch.html
@@ -20,6 +20,12 @@
 <head>
 <title>Untitled Document</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <frameset cols="140,1*" border="0" frameborder="NO"> 
diff --git a/base/ca/shared/webapps/ca/agent/ca/frameSrchRequests.html b/base/ca/shared/webapps/ca/agent/ca/frameSrchRequests.html
index 0e73ea82f399fc02c9bbb1fd2efed074038c37df..8e17357f21aed43b843a4ecb07465a72cc768fcd 100644
--- a/base/ca/shared/webapps/ca/agent/ca/frameSrchRequests.html
+++ b/base/ca/shared/webapps/ca/agent/ca/frameSrchRequests.html
@@ -20,6 +20,12 @@
 <head>
 <title>Untitled Document</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <frameset cols="140,1*" border="0" frameborder="NO">
diff --git a/base/ca/shared/webapps/ca/agent/ca/frameStats.html b/base/ca/shared/webapps/ca/agent/ca/frameStats.html
index 75a4dbebbc59f1996228f17f2395d80698589078..c60105e52b2245f63f3b352e347eca2488649452 100644
--- a/base/ca/shared/webapps/ca/agent/ca/frameStats.html
+++ b/base/ca/shared/webapps/ca/agent/ca/frameStats.html
@@ -20,6 +20,12 @@
 <head>
 <title>Untitled Document</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <frameset cols="140,1*" border="0" frameborder="NO">
diff --git a/base/ca/shared/webapps/ca/agent/ca/getOCSPInfo.template b/base/ca/shared/webapps/ca/agent/ca/getOCSPInfo.template
index cfafd620841ea22bbedddcbbfc0bf18fa9e2eccc..7a17d6c82c2261cc15c1f35ce0bf45b608dd7b6b 100644
--- a/base/ca/shared/webapps/ca/agent/ca/getOCSPInfo.template
+++ b/base/ca/shared/webapps/ca/agent/ca/getOCSPInfo.template
@@ -20,6 +20,12 @@
 <head>
    <title>Display CRL</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT type="text/javascript" SRC="../helpfun.js"></SCRIPT>
 <SCRIPT type="text/javascript">
 <!--
diff --git a/base/ca/shared/webapps/ca/agent/ca/getStats.template b/base/ca/shared/webapps/ca/agent/ca/getStats.template
index 0af670816ec222ab04d6e8c67fcdb68e36add836..817d2fb0e5f6c158351acc51dc7775049e06d451 100644
--- a/base/ca/shared/webapps/ca/agent/ca/getStats.template
+++ b/base/ca/shared/webapps/ca/agent/ca/getStats.template
@@ -20,6 +20,12 @@
 <head>
    <title>Display CRL</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT type="text/javascript" SRC="../helpfun.js"></SCRIPT>
 <SCRIPT type="text/javascript">
 <!--
diff --git a/base/ca/shared/webapps/ca/agent/ca/index.jsp b/base/ca/shared/webapps/ca/agent/ca/index.jsp
index 9dc5799770b04d4c0b707bda589cf206f5203b47..2df53c7a22a9a880a01929932bf2b2b13f8ee1da 100644
--- a/base/ca/shared/webapps/ca/agent/ca/index.jsp
+++ b/base/ca/shared/webapps/ca/agent/ca/index.jsp
@@ -21,6 +21,12 @@
 <title>CA Agent</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 <link rel="shortcut icon" href="/pki/images/favicon.ico" />
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <frameset rows="105,1*" frameborder="NO" border="0" cols="*"> 
diff --git a/base/ca/shared/webapps/ca/agent/ca/menuCRL.html b/base/ca/shared/webapps/ca/agent/ca/menuCRL.html
index 2c4984e9e3ca57fe43c1ab446f0e11bcb2d4efe4..f55206a053beb21addc086055ebf04017c23ba6c 100644
--- a/base/ca/shared/webapps/ca/agent/ca/menuCRL.html
+++ b/base/ca/shared/webapps/ca/agent/ca/menuCRL.html
@@ -20,6 +20,12 @@
 <head>
 <title>Untitled Document</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <body bgcolor="#CCCCCC" link="#FFFFFF" vlink="#FFFFFF" alink="#333399">
diff --git a/base/ca/shared/webapps/ca/agent/ca/menuDir.html b/base/ca/shared/webapps/ca/agent/ca/menuDir.html
index 7fa9f658d8fb5730301bed852299b2aa5835f03b..6a18b05b28c4abd7750ce561a57c187ee0f5de95 100644
--- a/base/ca/shared/webapps/ca/agent/ca/menuDir.html
+++ b/base/ca/shared/webapps/ca/agent/ca/menuDir.html
@@ -20,6 +20,12 @@
 <head>
 <title>Untitled Document</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <body bgcolor="#CCCCCC" link="#FFFFFF" vlink="#FFFFFF" alink="#333399">
diff --git a/base/ca/shared/webapps/ca/agent/ca/menuDisplayCRL.html b/base/ca/shared/webapps/ca/agent/ca/menuDisplayCRL.html
index de76603c4905a2a9b6044970b0d98af2c6a5b756..dbc95b9ceef7bf722f510dd2ce83946249c4e95f 100644
--- a/base/ca/shared/webapps/ca/agent/ca/menuDisplayCRL.html
+++ b/base/ca/shared/webapps/ca/agent/ca/menuDisplayCRL.html
@@ -20,6 +20,12 @@
 <head>
 <title>Untitled Document</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <body bgcolor="#CCCCCC" link="#FFFFFF" vlink="#FFFFFF" alink="#333399">
diff --git a/base/ca/shared/webapps/ca/agent/ca/menuList.html b/base/ca/shared/webapps/ca/agent/ca/menuList.html
index 21452599da5df0171e49bc21041c7252a5d3b5b2..8613935a3debbfe653b5e28d2689bac54227277e 100644
--- a/base/ca/shared/webapps/ca/agent/ca/menuList.html
+++ b/base/ca/shared/webapps/ca/agent/ca/menuList.html
@@ -20,6 +20,12 @@
 <head>
 <title>Untitled Document</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <body bgcolor="#CCCCCC" link="#FFFFFF" vlink="#FFFFFF" alink="#333399">
diff --git a/base/ca/shared/webapps/ca/agent/ca/menuListReq.html b/base/ca/shared/webapps/ca/agent/ca/menuListReq.html
index f3b54196230396763791870a53bc77e4b8936568..3253a7e9a879891b0424cadc1c532ec1483c74e3 100644
--- a/base/ca/shared/webapps/ca/agent/ca/menuListReq.html
+++ b/base/ca/shared/webapps/ca/agent/ca/menuListReq.html
@@ -20,6 +20,12 @@
 <head>
 <title>Untitled Document</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <body bgcolor="#CCCCCC" link="#FFFFFF" vlink="#FFFFFF" alink="#333399">
diff --git a/base/ca/shared/webapps/ca/agent/ca/menuOCSP.html b/base/ca/shared/webapps/ca/agent/ca/menuOCSP.html
index 0b73aa60e469a76611c3611e9843bf5b4b12b89d..bc1eee044a864da96c76eadda08bcae08b55b045 100644
--- a/base/ca/shared/webapps/ca/agent/ca/menuOCSP.html
+++ b/base/ca/shared/webapps/ca/agent/ca/menuOCSP.html
@@ -20,6 +20,12 @@
 <head>
 <title>Untitled Document</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <body bgcolor="#CCCCCC" link="#FFFFFF" vlink="#FFFFFF" alink="#333399">
diff --git a/base/ca/shared/webapps/ca/agent/ca/menuProfile.html b/base/ca/shared/webapps/ca/agent/ca/menuProfile.html
index a7bcd66df69b2274067c711fc8360dc4bb8c84ea..08d8e38fc8692ff2cb4ce01758a04464e00363a0 100644
--- a/base/ca/shared/webapps/ca/agent/ca/menuProfile.html
+++ b/base/ca/shared/webapps/ca/agent/ca/menuProfile.html
@@ -20,6 +20,12 @@
 <head>
 <title>Untitled Document</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <body bgcolor="#CCCCCC" link="#FFFFFF" vlink="#FFFFFF" alink="#333399">
diff --git a/base/ca/shared/webapps/ca/agent/ca/menuRevoke.html b/base/ca/shared/webapps/ca/agent/ca/menuRevoke.html
index 1148bf7c404aec643bc572c6eb1fc01d3cc18cfa..65a2d6b2f85fa1f894d23732aadfbb947d959906 100644
--- a/base/ca/shared/webapps/ca/agent/ca/menuRevoke.html
+++ b/base/ca/shared/webapps/ca/agent/ca/menuRevoke.html
@@ -20,6 +20,12 @@
 <head>
 <title>Untitled Document</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <body bgcolor="#CCCCCC" link="#FFFFFF" vlink="#FFFFFF" alink="#333399">
diff --git a/base/ca/shared/webapps/ca/agent/ca/menuSearch.html b/base/ca/shared/webapps/ca/agent/ca/menuSearch.html
index a088ef03042f5bb6d8a41ca521095923e1f53912..4dfd0b0cd69e950447b3deb2b6b219d4c2f07365 100644
--- a/base/ca/shared/webapps/ca/agent/ca/menuSearch.html
+++ b/base/ca/shared/webapps/ca/agent/ca/menuSearch.html
@@ -20,6 +20,12 @@
 <head>
 <title>Untitled Document</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <body bgcolor="#CCCCCC" link="#FFFFFF" vlink="#FFFFFF" alink="#333399">
diff --git a/base/ca/shared/webapps/ca/agent/ca/menuSrchRequests.html b/base/ca/shared/webapps/ca/agent/ca/menuSrchRequests.html
index 3b16a1a204e005a30ae4be8a057c3b968a053c10..159d63e1c2a4b8c8456dbce111741ef5f68fdecb 100644
--- a/base/ca/shared/webapps/ca/agent/ca/menuSrchRequests.html
+++ b/base/ca/shared/webapps/ca/agent/ca/menuSrchRequests.html
@@ -20,6 +20,12 @@
 <head>
 <title>Untitled Document</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <body bgcolor="#CCCCCC" link="#FFFFFF" vlink="#FFFFFF" alink="#333399">
diff --git a/base/ca/shared/webapps/ca/agent/ca/menuStats.html b/base/ca/shared/webapps/ca/agent/ca/menuStats.html
index c251356bd7949a64cd3ced26fdda7acbaa7a1fcd..4830355028b1ce49ac10e91f5eec51f9af053632 100644
--- a/base/ca/shared/webapps/ca/agent/ca/menuStats.html
+++ b/base/ca/shared/webapps/ca/agent/ca/menuStats.html
@@ -20,6 +20,12 @@
 <head>
 <title>Untitled Document</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <body bgcolor="#CCCCCC" link="#FFFFFF" vlink="#FFFFFF" alink="#333399">
diff --git a/base/ca/shared/webapps/ca/agent/ca/monitor.html b/base/ca/shared/webapps/ca/agent/ca/monitor.html
index 59e2f407827c17793c02bdc1ed19d2b05dda8d51..f2369af77eba52512c1fd6f9ba545c491eac3e21 100644
--- a/base/ca/shared/webapps/ca/agent/ca/monitor.html
+++ b/base/ca/shared/webapps/ca/agent/ca/monitor.html
@@ -20,8 +20,12 @@
 <head>
    <title>Performance Monitor</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-
-
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <body bgcolor="#FFFFFF" link="#666699" vlink="#666699" alink="#333366">
diff --git a/base/ca/shared/webapps/ca/agent/ca/monitor.template b/base/ca/shared/webapps/ca/agent/ca/monitor.template
index 73c3eb7360180d03a4a1e10a1f2971a4d32fcf4b..6dc07da3f05c875a66145fdee736d2b113a32281 100644
--- a/base/ca/shared/webapps/ca/agent/ca/monitor.template
+++ b/base/ca/shared/webapps/ca/agent/ca/monitor.template
@@ -19,6 +19,12 @@
 <HTML>
 <HEAD><TITLE>Monitor</TITLE>
 <CMS_TEMPLATE>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </HEAD>
 <BODY bgcolor="white">
 <font size="+1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif">
diff --git a/base/ca/shared/webapps/ca/agent/ca/notImplemented.html b/base/ca/shared/webapps/ca/agent/ca/notImplemented.html
index cbdd43f6a05de5d29c8a5da2b8b9aeb9fdb80583..b5b051c57094a039d80ded5172087c03bef8cfd9 100644
--- a/base/ca/shared/webapps/ca/agent/ca/notImplemented.html
+++ b/base/ca/shared/webapps/ca/agent/ca/notImplemented.html
@@ -20,6 +20,12 @@
 <head>
 <TITLE>Not implemented</TITLE>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 <body bgcolor="#FFFFFF">
 <font size="+1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif">Not Implemented</font><br>
diff --git a/base/ca/shared/webapps/ca/agent/ca/processCertReq.template b/base/ca/shared/webapps/ca/agent/ca/processCertReq.template
index 4d263fefd44f4e75a6cf9e376312ded196a42c59..c59233c71edc00e2ca10fb6bdc7a08f5df65b920 100644
--- a/base/ca/shared/webapps/ca/agent/ca/processCertReq.template
+++ b/base/ca/shared/webapps/ca/agent/ca/processCertReq.template
@@ -20,6 +20,12 @@
 <head>
 <TITLE></TITLE>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 <CMS_TEMPLATE>
 <BODY bgcolor="white">
diff --git a/base/ca/shared/webapps/ca/agent/ca/processReq.template b/base/ca/shared/webapps/ca/agent/ca/processReq.template
index 172125e3869ce72103fb2a3c94fa6ac7ce9dc526..a25390534050fbcb0fd5629a9794ce8fca6d1a09 100644
--- a/base/ca/shared/webapps/ca/agent/ca/processReq.template
+++ b/base/ca/shared/webapps/ca/agent/ca/processReq.template
@@ -20,6 +20,12 @@
 <head>
    <title>Display Request</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <SCRIPT type="text/javascript" SRC="/ca/agent/funcs.js"></SCRIPT>
diff --git a/base/ca/shared/webapps/ca/agent/ca/queryBySerial.html b/base/ca/shared/webapps/ca/agent/ca/queryBySerial.html
index 4cc7b9163dafbbcfe09379c568e83b5dc636ddda..f5dc717a98aa1efc1f0b14bc177d5333f50c7e8e 100644
--- a/base/ca/shared/webapps/ca/agent/ca/queryBySerial.html
+++ b/base/ca/shared/webapps/ca/agent/ca/queryBySerial.html
@@ -21,6 +21,12 @@
    <title>List Certificates Within a Serial Number Range</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <script type="text/javascript" SRC="/ca/agent/funcs.js"></script>
 <script type="text/javascript" SRC="/ca/agent/helpfun.js"></script>
 
diff --git a/base/ca/shared/webapps/ca/agent/ca/queryCert.html b/base/ca/shared/webapps/ca/agent/ca/queryCert.html
index a7ba0d045a60c06aeec59ceb4f1b1d7301051929..49ec3f37b5c62a53daaafa1d04d1a7fad7b72e45 100644
--- a/base/ca/shared/webapps/ca/agent/ca/queryCert.html
+++ b/base/ca/shared/webapps/ca/agent/ca/queryCert.html
@@ -21,6 +21,12 @@
    <title>Search for Certificates</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <script type="text/javascript" SRC="/ca/agent/funcs.js"></script>
 <script type="text/javascript" SRC="/ca/agent/helpfun.js"></script>
 </head>
diff --git a/base/ca/shared/webapps/ca/agent/ca/queryCert.template b/base/ca/shared/webapps/ca/agent/ca/queryCert.template
index 0a423823fe874253f5bff5fad44608eae471c401..61218e8b9257ca4892686713ff9d721be79f57d4 100644
--- a/base/ca/shared/webapps/ca/agent/ca/queryCert.template
+++ b/base/ca/shared/webapps/ca/agent/ca/queryCert.template
@@ -21,6 +21,13 @@
 <title>Query Certificate</title>
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
+
 <style type="text/css">
 
 .floating {
diff --git a/base/ca/shared/webapps/ca/agent/ca/queryReq.template b/base/ca/shared/webapps/ca/agent/ca/queryReq.template
index ed8285bb62a2dbf9b857927ebc77a2047b7409be..3e0e5fa2979c5786aaaafa6900e891aac74c32b4 100644
--- a/base/ca/shared/webapps/ca/agent/ca/queryReq.template
+++ b/base/ca/shared/webapps/ca/agent/ca/queryReq.template
@@ -21,6 +21,13 @@
    <title>Request Queue</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
+
 <style type="text/css">
 
 .floating {
diff --git a/base/ca/shared/webapps/ca/agent/ca/reasonToRevoke.template b/base/ca/shared/webapps/ca/agent/ca/reasonToRevoke.template
index ffb648beb117a304a5b6382c129dade20fbb3a09..426d47a1b6fa8875a2debbf8bb70f789649f9830 100644
--- a/base/ca/shared/webapps/ca/agent/ca/reasonToRevoke.template
+++ b/base/ca/shared/webapps/ca/agent/ca/reasonToRevoke.template
@@ -21,6 +21,12 @@
 <CMS_TEMPLATE>
 <TITLE>Certificate Revocation Confirmation</TITLE>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <script type="text/javascript" SRC="/ca/agent/funcs.js"></script>
 <script type="text/javascript" SRC="/ca/agent/helpfun.js"></script>
 
diff --git a/base/ca/shared/webapps/ca/agent/ca/revocationResult.template b/base/ca/shared/webapps/ca/agent/ca/revocationResult.template
index bd356841dce4c4556bab1fcfc20fbf2eaaedf86a..0c07b3e22896d426d22293e5dfb37a3073d33cbd 100644
--- a/base/ca/shared/webapps/ca/agent/ca/revocationResult.template
+++ b/base/ca/shared/webapps/ca/agent/ca/revocationResult.template
@@ -20,6 +20,13 @@
 <HEAD>
 <TITLE>Revocation Result</TITLE>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
+</HEAD>
 <CMS_TEMPLATE>
 <BODY bgcolor="white">
 <SCRIPT type="text/javascript">
diff --git a/base/ca/shared/webapps/ca/agent/ca/revokeBySerial.template b/base/ca/shared/webapps/ca/agent/ca/revokeBySerial.template
index cae2a93da2bf2cd591115ac1f6c03a91abe1321e..99bda94b090f437349dfc0eadf7887680a8957b2 100644
--- a/base/ca/shared/webapps/ca/agent/ca/revokeBySerial.template
+++ b/base/ca/shared/webapps/ca/agent/ca/revokeBySerial.template
@@ -17,7 +17,15 @@
      --- END COPYRIGHT BLOCK --- -->
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <HTML>
-<HEAD><TITLE> Certificate Revocation Result </TITLE></HEAD>
+<HEAD>
+<TITLE> Certificate Revocation Result </TITLE>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
+</HEAD>
 <CMS_TEMPLATE>
 <BODY bgcolor="white">
 <center><h2><b> Certificate Revocation Result</b></h2></center>
diff --git a/base/ca/shared/webapps/ca/agent/ca/revokeCert.html b/base/ca/shared/webapps/ca/agent/ca/revokeCert.html
index 7bfc6f6ef7420ae84fc580518096b19f9c781bf1..6f5c91b7a8dafa812f719a6cbb6e7fc5dafa2921 100644
--- a/base/ca/shared/webapps/ca/agent/ca/revokeCert.html
+++ b/base/ca/shared/webapps/ca/agent/ca/revokeCert.html
@@ -21,6 +21,12 @@
    <title>Revoke Certificates</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <script type="text/javascript" SRC="/ca/agent/funcs.js"></script>
 <script type="text/javascript" SRC="/ca/agent/helpfun.js"></script>
 </head>
diff --git a/base/ca/shared/webapps/ca/agent/ca/srchCert.template b/base/ca/shared/webapps/ca/agent/ca/srchCert.template
index 001b0e3b5bde043997b6bdb4e1e12f3e10e87526..abbeae9a48154ad6e39fe7bf6aeb14a64d25dde2 100644
--- a/base/ca/shared/webapps/ca/agent/ca/srchCert.template
+++ b/base/ca/shared/webapps/ca/agent/ca/srchCert.template
@@ -20,6 +20,12 @@
 <head>
 <title>Untitled Document</title>
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <body bgcolor="#FFFFFF" link="#000000" vlink="#000000" alink="#000000">
diff --git a/base/ca/shared/webapps/ca/agent/ca/toDisplayCRL.template b/base/ca/shared/webapps/ca/agent/ca/toDisplayCRL.template
index a2a30dd644b35279694bb5528786f3f6d01edf77..49bb9267bf98910c6b94ec55c46ec9e433afcb73 100644
--- a/base/ca/shared/webapps/ca/agent/ca/toDisplayCRL.template
+++ b/base/ca/shared/webapps/ca/agent/ca/toDisplayCRL.template
@@ -21,6 +21,12 @@
 <TITLE>Display Certificate Revocation List</TITLE>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT type="text/javascript" SRC="/ca/agent/helpfun.js"></SCRIPT>
 <CMS_TEMPLATE>
 
diff --git a/base/ca/shared/webapps/ca/agent/ca/toUpdateCRL.template b/base/ca/shared/webapps/ca/agent/ca/toUpdateCRL.template
index 8f7e1990c8ac1f14c250a65c60d2776b76e09c19..03cf05f3375dc132e7bf7570d8e4f4f15b8de37a 100644
--- a/base/ca/shared/webapps/ca/agent/ca/toUpdateCRL.template
+++ b/base/ca/shared/webapps/ca/agent/ca/toUpdateCRL.template
@@ -21,6 +21,12 @@
 <TITLE>Update Certificate Revocation List</TITLE>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT type="text/javascript" SRC="/ca/agent/helpfun.js"></SCRIPT>
  </HEAD>
 <CMS_TEMPLATE>
diff --git a/base/ca/shared/webapps/ca/agent/ca/top.html b/base/ca/shared/webapps/ca/agent/ca/top.html
index f4033d0f40350a4039e6bb9fd1804db5cefde42a..cf0fe00a2846c42ed65e769285731ee95342a105 100644
--- a/base/ca/shared/webapps/ca/agent/ca/top.html
+++ b/base/ca/shared/webapps/ca/agent/ca/top.html
@@ -20,6 +20,12 @@
 <head>
 <title>Untitled Document</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <body bgcolor="#CCCCCC" link="#FFFFFF" vlink="#FFFFFF" alink="#CCCCFF">
diff --git a/base/ca/shared/webapps/ca/agent/ca/unrevocationResult.template b/base/ca/shared/webapps/ca/agent/ca/unrevocationResult.template
index 8080ce0d2932e5b4adfaa3fdecba719bc445bac9..50d20898c99a8db7fe25ffbc3a38a0b151b78295 100644
--- a/base/ca/shared/webapps/ca/agent/ca/unrevocationResult.template
+++ b/base/ca/shared/webapps/ca/agent/ca/unrevocationResult.template
@@ -20,6 +20,12 @@
 <HEAD>
 <TITLE></TITLE>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <CMS_TEMPLATE>
 </HEAD>
 <BODY bgcolor="white">
diff --git a/base/ca/shared/webapps/ca/agent/ca/updateCRL.html b/base/ca/shared/webapps/ca/agent/ca/updateCRL.html
index 700d167cf32be89b99536e220b8a44dfa6564e6d..3e09135ab3b3d9c8b11bc4a570a493737eaa02b7 100644
--- a/base/ca/shared/webapps/ca/agent/ca/updateCRL.html
+++ b/base/ca/shared/webapps/ca/agent/ca/updateCRL.html
@@ -21,6 +21,12 @@
 <TITLE>Update Certificate Revocation List</TITLE>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT type="text/javascript" SRC="/ca/agent/helpfun.js"></SCRIPT>
  </HEAD>
 
diff --git a/base/ca/shared/webapps/ca/agent/ca/updateCRL.template b/base/ca/shared/webapps/ca/agent/ca/updateCRL.template
index 2b05486b4fdf8ada508c1ff7f6f9050f93126562..d7b1f91a7a858f1e94eb441b9ac00de295112054 100644
--- a/base/ca/shared/webapps/ca/agent/ca/updateCRL.template
+++ b/base/ca/shared/webapps/ca/agent/ca/updateCRL.template
@@ -17,7 +17,14 @@
      --- END COPYRIGHT BLOCK --- -->
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <HTML>
-<HEAD><TITLE> Update Certificate Revocation List </TITLE>
+<HEAD>
+<TITLE> Update Certificate Revocation List </TITLE>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <CMS_TEMPLATE>
 </HEAD>
 <BODY bgcolor="white">
diff --git a/base/ca/shared/webapps/ca/agent/ca/updateDir.template b/base/ca/shared/webapps/ca/agent/ca/updateDir.template
index 942db568d59991aa05775bc5772b369a4c2a1f59..7bfc1c8c504936f8bbd2058ae611beeb8f51e77c 100644
--- a/base/ca/shared/webapps/ca/agent/ca/updateDir.template
+++ b/base/ca/shared/webapps/ca/agent/ca/updateDir.template
@@ -17,7 +17,14 @@
      --- END COPYRIGHT BLOCK --- -->
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <HTML>
-<HEAD><TITLE> Update Directory Server Results </TITLE>
+<HEAD>
+<TITLE> Update Directory Server Results </TITLE>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <CMS_TEMPLATE>
 </HEAD>
 <BODY bgcolor="white">
diff --git a/base/ca/shared/webapps/ca/agent/header.template b/base/ca/shared/webapps/ca/agent/header.template
index 5157c2f11763b577b5ad98c4b9374ea38be5a50e..60341ab6107de8e823c6d118ad5de91601cae2b0 100644
--- a/base/ca/shared/webapps/ca/agent/header.template
+++ b/base/ca/shared/webapps/ca/agent/header.template
@@ -18,8 +18,12 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <html>
 <head>
-<script type="text/javascript" language="JavaScript" src="/pki/js/jquery.js"></script>
-<script type="text/javascript" language="JavaScript" src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 
 <script type="text/javascript" language="JavaScript">
 $(function() {
diff --git a/base/ca/shared/webapps/ca/agent/index.jsp b/base/ca/shared/webapps/ca/agent/index.jsp
index 30662d47aa6a0c3f7aafc03acf16b02cf2ac93bf..eae2da3c25ffaac82c434a5ef5137d9c3d635138 100644
--- a/base/ca/shared/webapps/ca/agent/index.jsp
+++ b/base/ca/shared/webapps/ca/agent/index.jsp
@@ -16,8 +16,16 @@
      All rights reserved.
      --- END COPYRIGHT BLOCK --- -->
 <html>
+<head>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <script lang="javascript">
     // redirect to 'ROOT'
     window.location = "/";
 </script>
+</head>
 </html>
diff --git a/base/ca/shared/webapps/ca/agent/index.template b/base/ca/shared/webapps/ca/agent/index.template
index 1213fdb2580e32bd6b5c475a35fac120a60d99b6..f3aa1e002a49884b5841ce23f3a738fc762474eb 100644
--- a/base/ca/shared/webapps/ca/agent/index.template
+++ b/base/ca/shared/webapps/ca/agent/index.template
@@ -18,8 +18,12 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <html>
 <head>
-<script type="text/javascript" language="JavaScript" src="/pki/js/jquery.js"></script>
-<script type="text/javascript" language="JavaScript" src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 
 <script type="text/javascript" language="JavaScript">
 $(function() {
diff --git a/base/ca/shared/webapps/ca/agent/ports.template b/base/ca/shared/webapps/ca/agent/ports.template
index a8efaf7a50bad85e5594ba4ee3779d3903a2d09a..37a3b8b732e4e1802715aa75fd5d2d93ee975dfb 100644
--- a/base/ca/shared/webapps/ca/agent/ports.template
+++ b/base/ca/shared/webapps/ca/agent/ports.template
@@ -18,8 +18,12 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <html>
 <head>
-<script type="text/javascript" language="JavaScript" src="/pki/js/jquery.js"></script>
-<script type="text/javascript" language="JavaScript" src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 
 <script type="text/javascript" language="JavaScript">
 $(function() {
diff --git a/base/ca/shared/webapps/ca/ee/GenError.template b/base/ca/shared/webapps/ca/ee/GenError.template
index 729525afd444e7621a7e7fb235fe97d6623406b6..b0a426c340614fda61e6808568ea04c832dcf926 100644
--- a/base/ca/shared/webapps/ca/ee/GenError.template
+++ b/base/ca/shared/webapps/ca/ee/GenError.template
@@ -17,9 +17,17 @@
      --- END COPYRIGHT BLOCK --- -->
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <HTML>
+<head>
 <CMS_TEMPLATE>
 
 <TITLE>CA End-Entity Processing Error!</TITLE>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
+</head>
 
 <BODY BGCOLOR="white">
 
diff --git a/base/ca/shared/webapps/ca/ee/GenPending.template b/base/ca/shared/webapps/ca/ee/GenPending.template
index 15ab7316aabf8dbc0f184c557a4ef69ce3ac2122..dd9aa6052881c69e11a6c1ebe344365e27f0b853 100644
--- a/base/ca/shared/webapps/ca/ee/GenPending.template
+++ b/base/ca/shared/webapps/ca/ee/GenPending.template
@@ -17,10 +17,17 @@
      --- END COPYRIGHT BLOCK --- -->
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <HTML>
+<head>
 <CMS_TEMPLATE>
 
 <TITLE>CA End-Entity Request Pending</TITLE>
-
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
+</head>
 <BODY bgcolor="white">
 
 
diff --git a/base/ca/shared/webapps/ca/ee/GenRejected.template b/base/ca/shared/webapps/ca/ee/GenRejected.template
index 6e0ca836fab730006347129835a358ced30ed94a..5e50506fbc443baab76e76d6fe714e5154e952f1 100644
--- a/base/ca/shared/webapps/ca/ee/GenRejected.template
+++ b/base/ca/shared/webapps/ca/ee/GenRejected.template
@@ -17,10 +17,17 @@
      --- END COPYRIGHT BLOCK --- -->
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <HTML>
+<head>
 <CMS_TEMPLATE>
 
 <TITLE>CA End-Entity Request Rejected</TITLE>
-
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
+</head>
 <BODY bgcolor="white">
 
 <font size="+1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif">
diff --git a/base/ca/shared/webapps/ca/ee/GenSuccess.template b/base/ca/shared/webapps/ca/ee/GenSuccess.template
index 5e17ecd645d75a52b11fa295ad862d82c4ed6c35..7007b14cb9b9926f036ca45b345e72537b29473c 100644
--- a/base/ca/shared/webapps/ca/ee/GenSuccess.template
+++ b/base/ca/shared/webapps/ca/ee/GenSuccess.template
@@ -17,11 +17,18 @@
      --- END COPYRIGHT BLOCK --- -->
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <HTML>
+<head>
 <!-- This template is intended to be replaced by request specific results !  -->
 <CMS_TEMPLATE>
 
 <TITLE>CA End-Entity Generic Request Success</TITLE>
-
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
+</head>
 <BODY BGCOLOR=white>
 
 <font size="+1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif">
diff --git a/base/ca/shared/webapps/ca/ee/GenSvcPending.template b/base/ca/shared/webapps/ca/ee/GenSvcPending.template
index e61acbe6ccb7ddc3ac9063876e028c09645c4565..b6217b748e6086a3ac62a292451b3ba887be2330 100644
--- a/base/ca/shared/webapps/ca/ee/GenSvcPending.template
+++ b/base/ca/shared/webapps/ca/ee/GenSvcPending.template
@@ -17,10 +17,17 @@
      --- END COPYRIGHT BLOCK --- -->
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <HTML>
+<head>
 <CMS_TEMPLATE>
 
 <TITLE>CA End-Entity Request Svc Pending</TITLE>
-
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
+</head>
 <BODY bgcolor="white">
 
 <font size="+1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif">
diff --git a/base/ca/shared/webapps/ca/ee/GenUnauthorized.template b/base/ca/shared/webapps/ca/ee/GenUnauthorized.template
index b8526cb5946e4f48dcd18450246b91a6a2b28524..e8bf0d311f8190a194dc744cb212319e420224a9 100644
--- a/base/ca/shared/webapps/ca/ee/GenUnauthorized.template
+++ b/base/ca/shared/webapps/ca/ee/GenUnauthorized.template
@@ -17,11 +17,18 @@
      --- END COPYRIGHT BLOCK --- -->
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <HTML>
+<head>
 <!-- This template is intended to be replaced by request specific results !  -->
 <CMS_TEMPLATE>
 
 <TITLE>CA End-Entity Generic Unauthorized</TITLE>
-
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
+</head>
 <BODY BGCOLOR=white>
 
 <font size="+1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif">
diff --git a/base/ca/shared/webapps/ca/ee/GenUnexpectedError.template b/base/ca/shared/webapps/ca/ee/GenUnexpectedError.template
index d93eb0fd6692b776bfc19592097371650335b243..87477caf66d5bbefd6fa2a8c74c2edd23822e4c8 100644
--- a/base/ca/shared/webapps/ca/ee/GenUnexpectedError.template
+++ b/base/ca/shared/webapps/ca/ee/GenUnexpectedError.template
@@ -17,10 +17,17 @@
      --- END COPYRIGHT BLOCK --- -->
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <HTML>
+<head>
 <CMS_TEMPLATE>
 
 <TITLE>CA End-Entity Processing Error!</TITLE>
-
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
+</head>
 <BODY BGCOLOR="white">
 
 <font size="+1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif">
diff --git a/base/ca/shared/webapps/ca/ee/ca/AIMEnroll.html b/base/ca/shared/webapps/ca/ee/ca/AIMEnroll.html
index 4b14a8b5cda0f51709d6297be39daf8e98072633..06d29e95537abece8b7579be852e993e3903132f 100644
--- a/base/ca/shared/webapps/ca/ee/ca/AIMEnroll.html
+++ b/base/ca/shared/webapps/ca/ee/ca/AIMEnroll.html
@@ -20,6 +20,12 @@
 <head>
 <TITLE>AIM User Enrollment Form</TITLE>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT LANGUAGE="JavaScript"></SCRIPT>
 <SCRIPT LANGUAGE="JavaScript" SRC="/ca/ee/cms-funcs.js"> </SCRIPT>
 <SCRIPT LANGUAGE="JavaScript" SRC="/ca/ee/helpfun.js"> </SCRIPT>
diff --git a/base/ca/shared/webapps/ca/ee/ca/CMCEnrollment.html b/base/ca/shared/webapps/ca/ee/ca/CMCEnrollment.html
index 4e0ca29ad242ae06262a366f1c2787772e467319..2f9d3c3e558fb564ea50636a54cfe1067fccf5c3 100644
--- a/base/ca/shared/webapps/ca/ee/ca/CMCEnrollment.html
+++ b/base/ca/shared/webapps/ca/ee/ca/CMCEnrollment.html
@@ -20,6 +20,12 @@
 <head>
 <TITLE>CMC Request Enrollment </TITLE>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT LANGUAGE="JavaScript">
 function setType(f)
 {
diff --git a/base/ca/shared/webapps/ca/ee/ca/CMCRevReq.html b/base/ca/shared/webapps/ca/ee/ca/CMCRevReq.html
index bd24a212ca146306e7d6afa332d47f805754f1a6..6f3a900e31dd69051b42494d712ad5edd9756013 100644
--- a/base/ca/shared/webapps/ca/ee/ca/CMCRevReq.html
+++ b/base/ca/shared/webapps/ca/ee/ca/CMCRevReq.html
@@ -22,6 +22,12 @@
 <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
 <meta name="ProgId" content="FrontPage.Editor.Document">
 <title>CMC Certificate Revocation signed by authorized agent</title>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <body>
diff --git a/base/ca/shared/webapps/ca/ee/ca/CertBasedDualEnroll.html b/base/ca/shared/webapps/ca/ee/ca/CertBasedDualEnroll.html
index 9e37706e70a362c0aa5e6f8decadd45c1fbe4d10..3ef8a143cfaba9b7423c302d16f3ae18194f1d37 100644
--- a/base/ca/shared/webapps/ca/ee/ca/CertBasedDualEnroll.html
+++ b/base/ca/shared/webapps/ca/ee/ca/CertBasedDualEnroll.html
@@ -20,6 +20,12 @@
 <head>
 <TITLE>Certificate Based Enrollment - Directory Based User Enrollment Form</TITLE>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT LANGUAGE="JavaScript"></SCRIPT>
 <SCRIPT LANGUAGE="JavaScript" SRC="/ca/ee/cms-funcs.js"> </SCRIPT>
 <SCRIPT LANGUAGE="JavaScript" SRC="/ca/ee/helpfun.js"> </SCRIPT>
diff --git a/base/ca/shared/webapps/ca/ee/ca/CertBasedEncryptionEnroll.html b/base/ca/shared/webapps/ca/ee/ca/CertBasedEncryptionEnroll.html
index 466447c313da1f060da6a25fb6f3d45f22e98ab2..730c5dfaa6689fbd77fcd9124903107e88c47e90 100644
--- a/base/ca/shared/webapps/ca/ee/ca/CertBasedEncryptionEnroll.html
+++ b/base/ca/shared/webapps/ca/ee/ca/CertBasedEncryptionEnroll.html
@@ -20,6 +20,12 @@
 <head>
 <TITLE>Cert-Based Directory Based User Enrollment Form for Encryption Cert</TITLE>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT LANGUAGE="JavaScript"></SCRIPT>
 <SCRIPT LANGUAGE="JavaScript" SRC="/ca/ee/cms-funcs.js"> </SCRIPT>
 <SCRIPT LANGUAGE="JavaScript" SRC="/ca/ee/helpfun.js"> </SCRIPT>
diff --git a/base/ca/shared/webapps/ca/ee/ca/CertBasedSingleEnroll.html b/base/ca/shared/webapps/ca/ee/ca/CertBasedSingleEnroll.html
index 537d0870f58aed5fe23ed29802a2dfc8cba4f12d..e5f74d26aef8c6c3fe277c01569dadd51b520920 100644
--- a/base/ca/shared/webapps/ca/ee/ca/CertBasedSingleEnroll.html
+++ b/base/ca/shared/webapps/ca/ee/ca/CertBasedSingleEnroll.html
@@ -20,6 +20,12 @@
 <head>
 <TITLE>Cert-Based single Directory Based User Enrollment Form</TITLE>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT LANGUAGE="JavaScript"></SCRIPT>
 <SCRIPT LANGUAGE="JavaScript" SRC="/ca/ee/cms-funcs.js"> </SCRIPT>
 <SCRIPT LANGUAGE="JavaScript" SRC="/ca/ee/helpfun.js"> </SCRIPT>
diff --git a/base/ca/shared/webapps/ca/ee/ca/ChallengeRevoke1.html b/base/ca/shared/webapps/ca/ee/ca/ChallengeRevoke1.html
index 00775b140e536bbc82ec6d6411276ce7d19f12ce..d747257a8a0d2d0c4130c97547a744dc14e8e63c 100644
--- a/base/ca/shared/webapps/ca/ee/ca/ChallengeRevoke1.html
+++ b/base/ca/shared/webapps/ca/ee/ca/ChallengeRevoke1.html
@@ -20,6 +20,12 @@
 <head>
 <TITLE>Revoke a Certificate using a challenge password</TITLE>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT LANGUAGE="JavaScript"></SCRIPT>
 <script LANGUAGE="JavaScript" SRC="../cms-funcs.js"></script>
 
diff --git a/base/ca/shared/webapps/ca/ee/ca/DirPinUserEnroll.html b/base/ca/shared/webapps/ca/ee/ca/DirPinUserEnroll.html
index b13b0136bb5056ee6f4a6709a38f60d3602422fd..40bc4240710f9a64f46d4f411662c605135f7cbb 100644
--- a/base/ca/shared/webapps/ca/ee/ca/DirPinUserEnroll.html
+++ b/base/ca/shared/webapps/ca/ee/ca/DirPinUserEnroll.html
@@ -20,6 +20,12 @@
 <head>
 <TITLE>Directory and Pin-Based User Enrollment Form</TITLE>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT LANGUAGE="JavaScript"></SCRIPT>
 <SCRIPT LANGUAGE="JavaScript" SRC="/ca/ee/cms-funcs.js"> </SCRIPT>
 <SCRIPT LANGUAGE="JavaScript" SRC="/ca/ee/helpfun.js"> </SCRIPT>
diff --git a/base/ca/shared/webapps/ca/ee/ca/DirUserEnroll.html b/base/ca/shared/webapps/ca/ee/ca/DirUserEnroll.html
index 28b1b3d15db06cbd431d90c7b4e80170ecd52730..53d1e38b3dc6bfb1585d8e15357dffb5b42bd59f 100644
--- a/base/ca/shared/webapps/ca/ee/ca/DirUserEnroll.html
+++ b/base/ca/shared/webapps/ca/ee/ca/DirUserEnroll.html
@@ -20,6 +20,12 @@
 <head>
 <TITLE>Directory Based User Enrollment Form</TITLE>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT LANGUAGE="JavaScript"></SCRIPT>
 <SCRIPT LANGUAGE="JavaScript" SRC="/ca/ee/cms-funcs.js"> </SCRIPT>
 <SCRIPT LANGUAGE="JavaScript" SRC="/ca/ee/helpfun.js"> </SCRIPT>
diff --git a/base/ca/shared/webapps/ca/ee/ca/DisplayCRL.html b/base/ca/shared/webapps/ca/ee/ca/DisplayCRL.html
index 52834145802a9ad3f7f777ee2b6559f3e0903810..0a6dd7a2b606dba57879b6ac9ff061480dab93de 100644
--- a/base/ca/shared/webapps/ca/ee/ca/DisplayCRL.html
+++ b/base/ca/shared/webapps/ca/ee/ca/DisplayCRL.html
@@ -19,6 +19,12 @@
 <HTML>
 <HEAD>
 <TITLE>Review Certificate Revocation List</TITLE>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT LANGUAGE="JavaScript"></SCRIPT>
 
 <SCRIPT LANGUAGE="JavaScript" SRC="/ca/ee/cms-funcs.js">
diff --git a/base/ca/shared/webapps/ca/ee/ca/EnrollSuccess.template b/base/ca/shared/webapps/ca/ee/ca/EnrollSuccess.template
index d61c747cf7fc7a9f63744a7f43b4c52e164f3600..4365d05fda3d9288dc867d4a70eb83130bad214e 100644
--- a/base/ca/shared/webapps/ca/ee/ca/EnrollSuccess.template
+++ b/base/ca/shared/webapps/ca/ee/ca/EnrollSuccess.template
@@ -21,6 +21,12 @@
 <TITLE>
 CS Enroll Request Success
 </TITLE>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 
diff --git a/base/ca/shared/webapps/ca/ee/ca/GetCAChain.html b/base/ca/shared/webapps/ca/ee/ca/GetCAChain.html
index 2fb78081dd82820bf863c7577668cde63696ecad..081968d5069ff5f01d879f6b729beb8abd93b3cd 100644
--- a/base/ca/shared/webapps/ca/ee/ca/GetCAChain.html
+++ b/base/ca/shared/webapps/ca/ee/ca/GetCAChain.html
@@ -19,6 +19,12 @@
 <HTML>
 <HEAD>
 <TITLE>Get CA Chain</TITLE>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT LANGUAGE="JavaScript"></SCRIPT>
 
 <SCRIPT LANGUAGE="JavaScript" SRC="/ca/ee/cms-funcs.js">
diff --git a/base/ca/shared/webapps/ca/ee/ca/ImportAdminCert.template b/base/ca/shared/webapps/ca/ee/ca/ImportAdminCert.template
index 5d1015424a87c05fe9623ada10358fd6987a5478..e88198477d9ef8ef2cab683a2b0b4658b26aea2b 100644
--- a/base/ca/shared/webapps/ca/ee/ca/ImportAdminCert.template
+++ b/base/ca/shared/webapps/ca/ee/ca/ImportAdminCert.template
@@ -20,6 +20,12 @@
 <HEAD>
 <TITLE>VBScript Administrator Certificate Enrollment
 </TITLE>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <CMS_TEMPLATE>
 <SCRIPT language="VBScript">
 <!--
diff --git a/base/ca/shared/webapps/ca/ee/ca/ImportCert.template b/base/ca/shared/webapps/ca/ee/ca/ImportCert.template
index 67ddd0c72271415ae8464e71a61beb8d8863036c..a041c7d64ad71272e72b46d450778517d45b78ca 100644
--- a/base/ca/shared/webapps/ca/ee/ca/ImportCert.template
+++ b/base/ca/shared/webapps/ca/ee/ca/ImportCert.template
@@ -17,11 +17,19 @@
      --- END COPYRIGHT BLOCK --- -->
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <html>
+<head>
 <CMS_TEMPLATE>
 
 <TITLE>
 CS Enroll Request Success
 </TITLE>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
+</head>
 
 <BODY bgcolor="white">
 
diff --git a/base/ca/shared/webapps/ca/ee/ca/KeyRecovery.html b/base/ca/shared/webapps/ca/ee/ca/KeyRecovery.html
index b3a9e46769338814e9e934827f5bccb1ac4a2984..b7a108faea342266cf03c8fd6971af406e4c49e0 100644
--- a/base/ca/shared/webapps/ca/ee/ca/KeyRecovery.html
+++ b/base/ca/shared/webapps/ca/ee/ca/KeyRecovery.html
@@ -21,6 +21,12 @@
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
    <META NAME="GENERATOR" CONTENT="Mozilla/4.03 [en]C-NSCP  (WinNT; U) [Netscape]">
    <TITLE>Key Recovery</TITLE>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </HEAD>
 <BODY BGCOLOR="#FFFFFF">
 <SCRIPT LANGUAGE="JavaScript">
diff --git a/base/ca/shared/webapps/ca/ee/ca/ManCAEnroll.html b/base/ca/shared/webapps/ca/ee/ca/ManCAEnroll.html
index 851bca52e15fe2c1399978071b10489a8a9a86a2..1f97b96e60a684a2d23423fe134e355746d02914 100644
--- a/base/ca/shared/webapps/ca/ee/ca/ManCAEnroll.html
+++ b/base/ca/shared/webapps/ca/ee/ca/ManCAEnroll.html
@@ -20,6 +20,12 @@
 <head>
 <TITLE>Request a CA Certificate</TITLE>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT LANGUAGE="JavaScript">
 function validate(form)
 {
diff --git a/base/ca/shared/webapps/ca/ee/ca/ManObjSignEnroll.html b/base/ca/shared/webapps/ca/ee/ca/ManObjSignEnroll.html
index 886a289299b951658555ac6021d1710c907ed20c..1d5479b7de82cbd16b90d92254b1f5fa4ede05c0 100644
--- a/base/ca/shared/webapps/ca/ee/ca/ManObjSignEnroll.html
+++ b/base/ca/shared/webapps/ca/ee/ca/ManObjSignEnroll.html
@@ -20,6 +20,12 @@
 <head>
 <title>User Certificate Request Form</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT LANGUAGE="JavaScript"></SCRIPT>
 <SCRIPT LANGUAGE="JavaScript" SRC="/ca/ee/dynamicVars.js">
 </SCRIPT>
diff --git a/base/ca/shared/webapps/ca/ee/ca/ManRAEnroll.html b/base/ca/shared/webapps/ca/ee/ca/ManRAEnroll.html
index 796ef0d6f7b3eab84dd5ed1e64d2ccd64c42525f..59d0d8afc490eca01dad7035d9268afa26237548 100644
--- a/base/ca/shared/webapps/ca/ee/ca/ManRAEnroll.html
+++ b/base/ca/shared/webapps/ca/ee/ca/ManRAEnroll.html
@@ -20,6 +20,12 @@
 <head>
 <TITLE>Request a RA Certificate</TITLE>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT LANGUAGE="JavaScript">
 function validate(form)
 {
diff --git a/base/ca/shared/webapps/ca/ee/ca/ManServerEnroll.html b/base/ca/shared/webapps/ca/ee/ca/ManServerEnroll.html
index 148aaee7ced288ebb0d5c8221bc529cd18337e53..7c3c2d1bfd4c992181ebcc2e18d43f999acb79ca 100644
--- a/base/ca/shared/webapps/ca/ee/ca/ManServerEnroll.html
+++ b/base/ca/shared/webapps/ca/ee/ca/ManServerEnroll.html
@@ -20,6 +20,12 @@
 <head>
 <TITLE>Request a Server Certificate</TITLE>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT LANGUAGE="JavaScript">
 function validate(form)
 {
diff --git a/base/ca/shared/webapps/ca/ee/ca/ManUserEnroll.html b/base/ca/shared/webapps/ca/ee/ca/ManUserEnroll.html
index 85ba59c97932545680f49a1f222408c44f50851c..62462055d2f54091e656fd5c92909f4512794ad5 100644
--- a/base/ca/shared/webapps/ca/ee/ca/ManUserEnroll.html
+++ b/base/ca/shared/webapps/ca/ee/ca/ManUserEnroll.html
@@ -20,6 +20,12 @@
 <head>
 <title>User Certificate Request Form</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT LANGUAGE="JavaScript"></SCRIPT>
 <SCRIPT LANGUAGE="JavaScript" SRC="/ca/ee/dynamicVars.js">
 </SCRIPT>
diff --git a/base/ca/shared/webapps/ca/ee/ca/OCSPResponder.html b/base/ca/shared/webapps/ca/ee/ca/OCSPResponder.html
index 33d3733ce24cf78fed4747bac72d677a72c157f5..4a9951824380a20a5de7d7764468985dbfbfde93 100644
--- a/base/ca/shared/webapps/ca/ee/ca/OCSPResponder.html
+++ b/base/ca/shared/webapps/ca/ee/ca/OCSPResponder.html
@@ -20,6 +20,12 @@
 <head>
 <TITLE>Request an OCSP Responder Certificate </TITLE>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT LANGUAGE="JavaScript">
 function validate(form)
 {
diff --git a/base/ca/shared/webapps/ca/ee/ca/ObjSignPKCS10Enroll.html b/base/ca/shared/webapps/ca/ee/ca/ObjSignPKCS10Enroll.html
index 820c1aa5554776a92b63b44a9899134c3ccfec7d..e6898f193bc09d8a5d695aaac6378ba05863286b 100644
--- a/base/ca/shared/webapps/ca/ee/ca/ObjSignPKCS10Enroll.html
+++ b/base/ca/shared/webapps/ca/ee/ca/ObjSignPKCS10Enroll.html
@@ -20,6 +20,12 @@
 <head>
 <TITLE>Request an Object Signing Certificate</TITLE>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT LANGUAGE="JavaScript">
 function setSignType(f)
 {
diff --git a/base/ca/shared/webapps/ca/ee/ca/PortalEnrollment.html b/base/ca/shared/webapps/ca/ee/ca/PortalEnrollment.html
index b7e9009393acc66d981d3079df12979fe367ae1a..c8da85a0e8f929daa15359fbcf864af34dbe6178 100644
--- a/base/ca/shared/webapps/ca/ee/ca/PortalEnrollment.html
+++ b/base/ca/shared/webapps/ca/ee/ca/PortalEnrollment.html
@@ -20,6 +20,12 @@
 <head>
 <TITLE>Portal User Enrollment Form</TITLE>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT LANGUAGE="JavaScript"></SCRIPT>
 <SCRIPT LANGUAGE="JavaScript" SRC="/ca/ee/cms-funcs.js"> </SCRIPT>
 <SCRIPT LANGUAGE="JavaScript" SRC="/ca/ee/helpfun.js"> </SCRIPT>
diff --git a/base/ca/shared/webapps/ca/ee/ca/ProfileList.template b/base/ca/shared/webapps/ca/ee/ca/ProfileList.template
index dce26ee54a0961882f2f65a7f588f30bd5d9169e..33af441652b9b9ec1fac011e1ea5303acc3553ab 100644
--- a/base/ca/shared/webapps/ca/ee/ca/ProfileList.template
+++ b/base/ca/shared/webapps/ca/ee/ca/ProfileList.template
@@ -19,8 +19,12 @@
 <html>
 
 <head>
-<script type="text/javascript" language="JavaScript" src="/pki/js/jquery.js"></script>
-<script type="text/javascript" language="JavaScript" src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 
 <script type="text/javascript" language="JavaScript">
 $(function() {
diff --git a/base/ca/shared/webapps/ca/ee/ca/ProfileSelect.template b/base/ca/shared/webapps/ca/ee/ca/ProfileSelect.template
index 0b7a5418e898bf5b3b26d3b0915a79bfc03476c4..666d20f896c8c57fa4002fe6e217753fa8672e7c 100644
--- a/base/ca/shared/webapps/ca/ee/ca/ProfileSelect.template
+++ b/base/ca/shared/webapps/ca/ee/ca/ProfileSelect.template
@@ -17,6 +17,14 @@
      --- END COPYRIGHT BLOCK --- -->
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <html>
+<head>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
+</head>
 <CMS_TEMPLATE>
 <font size="+1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif">
 Certificate Profile
diff --git a/base/ca/shared/webapps/ca/ee/ca/ProfileSubmit.html b/base/ca/shared/webapps/ca/ee/ca/ProfileSubmit.html
index 90d50864de78efd2b8c3ec402a380d73f73b08d8..15931aaa7d4d56630fdcd95795d33b93a7638470 100644
--- a/base/ca/shared/webapps/ca/ee/ca/ProfileSubmit.html
+++ b/base/ca/shared/webapps/ca/ee/ca/ProfileSubmit.html
@@ -19,6 +19,12 @@
 <html>
 <head>
 <TITLE>Certificate Profile Based Enrollment Form</TITLE>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 <body>
 <form name="ReqForm" method="post" action="profileSubmit">
diff --git a/base/ca/shared/webapps/ca/ee/ca/ProfileSubmit.template b/base/ca/shared/webapps/ca/ee/ca/ProfileSubmit.template
index ce1ec122e726ac4986e79151413e4836ef5021fd..fc1e1ecc6a10b937e0ddfcfa60483b22ef3e488f 100644
--- a/base/ca/shared/webapps/ca/ee/ca/ProfileSubmit.template
+++ b/base/ca/shared/webapps/ca/ee/ca/ProfileSubmit.template
@@ -17,7 +17,15 @@
      --- END COPYRIGHT BLOCK --- -->
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <html>
+<head>
 <CMS_TEMPLATE>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
+</head>
 <font size="+1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif">
 Certificate Profile
 </font><br>
diff --git a/base/ca/shared/webapps/ca/ee/ca/RenewalSuccess.template b/base/ca/shared/webapps/ca/ee/ca/RenewalSuccess.template
index 73465691befc4576a777d373ac03fca71c682061..ba6c8650b2c84c648e91dade109e88e823c28ec3 100644
--- a/base/ca/shared/webapps/ca/ee/ca/RenewalSuccess.template
+++ b/base/ca/shared/webapps/ca/ee/ca/RenewalSuccess.template
@@ -18,10 +18,18 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 
 <HTML>
+<head>
 <CMS_TEMPLATE>
 <TITLE>
 CS Renewal Request Success
 </TITLE>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
+</pre>
 
 <BODY bgcolor="white">
 
diff --git a/base/ca/shared/webapps/ca/ee/ca/RevocationSuccess.template b/base/ca/shared/webapps/ca/ee/ca/RevocationSuccess.template
index d024a3d14fb444b7978d2e0e808a601287862418..4ba206822c04beb327092bef491859334e66ca58 100644
--- a/base/ca/shared/webapps/ca/ee/ca/RevocationSuccess.template
+++ b/base/ca/shared/webapps/ca/ee/ca/RevocationSuccess.template
@@ -17,11 +17,19 @@
      --- END COPYRIGHT BLOCK --- -->
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <HTML>
+<head>
 <CMS_TEMPLATE>
 
 <TITLE>
 CS Revocation Request Success
 </TITLE>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
+</head>
 
 <BODY bgcolor="white">
 
diff --git a/base/ca/shared/webapps/ca/ee/ca/UserRenewal.html b/base/ca/shared/webapps/ca/ee/ca/UserRenewal.html
index df65046b6020807df7d6a4e40af2e724bdc98a9a..edb37258da9f0019c6c11cf3d92b804a90dc025d 100644
--- a/base/ca/shared/webapps/ca/ee/ca/UserRenewal.html
+++ b/base/ca/shared/webapps/ca/ee/ca/UserRenewal.html
@@ -20,6 +20,12 @@
 <head>
 <TITLE>User Certificate Renewal</TITLE>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT LANGUAGE="JavaScript"></SCRIPT>
 <SCRIPT LANGUAGE="JavaScript" SRC="/ca/ee/helpfun.js"> </SCRIPT>
 <SCRIPT LANGUAGE="JavaScript" SRC="/ca/ee/cms-funcs.js"> </SCRIPT>
diff --git a/base/ca/shared/webapps/ca/ee/ca/UserRevocation.html b/base/ca/shared/webapps/ca/ee/ca/UserRevocation.html
index 83f0091a8bddf4ec395e4de96815238df642bc0d..83c3ccc111ade0b48c064e3a364eaadc5b071303 100644
--- a/base/ca/shared/webapps/ca/ee/ca/UserRevocation.html
+++ b/base/ca/shared/webapps/ca/ee/ca/UserRevocation.html
@@ -20,6 +20,12 @@
 <head>
 <TITLE>User Certificate Revocation Form</TITLE>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT LANGUAGE="JavaScript" SRC="../helpfun.js">
 </SCRIPT>
 </head>
diff --git a/base/ca/shared/webapps/ca/ee/ca/bench2k.html b/base/ca/shared/webapps/ca/ee/ca/bench2k.html
index ab667f47fe731e0646c280c0107553091f901aad..8c5e17d76a28fe3fa33f3e0bfcbbba3c6dba11d9 100755
--- a/base/ca/shared/webapps/ca/ee/ca/bench2k.html
+++ b/base/ca/shared/webapps/ca/ee/ca/bench2k.html
@@ -21,6 +21,12 @@
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <meta name="GENERATOR" content="Mozilla/4.5 [en] (WinNT; U) [Netscape]">
    <title>benchmark1</title>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 <body>
 This is a file used for benchmarking HTTP Operations.
diff --git a/base/ca/shared/webapps/ca/ee/ca/checkRequest.html b/base/ca/shared/webapps/ca/ee/ca/checkRequest.html
index 2fbaa048db468077d9322c346f894049bc56cd52..a15507f6f5c6f9699cfa0ed9df94c0d56803cefa 100644
--- a/base/ca/shared/webapps/ca/ee/ca/checkRequest.html
+++ b/base/ca/shared/webapps/ca/ee/ca/checkRequest.html
@@ -21,9 +21,14 @@
    <title>Check Request Status</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT LANGUAGE="JavaScript"></SCRIPT>
 <script LANGUAGE="JavaScript" SRC="../helpfun.js"></script>
-
 </head>
 
 <body bgcolor="#FFFFFF" link="#666699" vlink="#666699" alink="#333366">
diff --git a/base/ca/shared/webapps/ca/ee/ca/displayBySerial.template b/base/ca/shared/webapps/ca/ee/ca/displayBySerial.template
index be65418be636a41b3393d83efc4c41240fb91055..08706a556d3c0fa1dcc10fe39927cf04a242649e 100644
--- a/base/ca/shared/webapps/ca/ee/ca/displayBySerial.template
+++ b/base/ca/shared/webapps/ca/ee/ca/displayBySerial.template
@@ -20,6 +20,12 @@
 <head>
    <title>Display Certificate</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <CMS_TEMPLATE>
diff --git a/base/ca/shared/webapps/ca/ee/ca/displayBySerial2.template b/base/ca/shared/webapps/ca/ee/ca/displayBySerial2.template
index 7e6678f0b5f905fe76cd983812e7538f05c356de..c939ae68dede8008780368982d2df941652a8cb7 100644
--- a/base/ca/shared/webapps/ca/ee/ca/displayBySerial2.template
+++ b/base/ca/shared/webapps/ca/ee/ca/displayBySerial2.template
@@ -20,6 +20,12 @@
 <head>
    <title>Display Certificate</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <CMS_TEMPLATE>
diff --git a/base/ca/shared/webapps/ca/ee/ca/displayCRL.template b/base/ca/shared/webapps/ca/ee/ca/displayCRL.template
index e829387c1ec5f99eb4df246da131dde320c99534..5c15cd8439f8d02b6ce657c60d3552be485456f3 100644
--- a/base/ca/shared/webapps/ca/ee/ca/displayCRL.template
+++ b/base/ca/shared/webapps/ca/ee/ca/displayCRL.template
@@ -20,6 +20,12 @@
 <head>
    <title>CRL Info</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <CMS_TEMPLATE>
diff --git a/base/ca/shared/webapps/ca/ee/ca/displayCaCert.template b/base/ca/shared/webapps/ca/ee/ca/displayCaCert.template
index 3e6a44da73f8d84286d37965096ff9dc8c8fbb1b..8f63afa351823620e64e43350989453ea45545ba 100644
--- a/base/ca/shared/webapps/ca/ee/ca/displayCaCert.template
+++ b/base/ca/shared/webapps/ca/ee/ca/displayCaCert.template
@@ -20,6 +20,12 @@
 <head>
    <title>CA Certificate Chain</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <CMS_TEMPLATE>
diff --git a/base/ca/shared/webapps/ca/ee/ca/displayCertFromRequest.template b/base/ca/shared/webapps/ca/ee/ca/displayCertFromRequest.template
index aafa17aca89305e5a5789dbe43a14e5a4f5a6047..0dd02bb2aa6c9d031ef1c5bf8c2e8f2997bfe91f 100644
--- a/base/ca/shared/webapps/ca/ee/ca/displayCertFromRequest.template
+++ b/base/ca/shared/webapps/ca/ee/ca/displayCertFromRequest.template
@@ -17,11 +17,19 @@
      --- END COPYRIGHT BLOCK --- -->
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <HTML>
+<head>
 <CMS_TEMPLATE>
 
 <TITLE>
 CS Enroll Request Success
 </TITLE>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
+</head>
 
 <script language="javascript">
 
diff --git a/base/ca/shared/webapps/ca/ee/ca/enrollMenu.html b/base/ca/shared/webapps/ca/ee/ca/enrollMenu.html
index cebdc1aece29965a697d0b6ec403fe80d0c2ea3e..cba8dcfa4477d01a7858ca6252fe0cc726b9bcb2 100644
--- a/base/ca/shared/webapps/ca/ee/ca/enrollMenu.html
+++ b/base/ca/shared/webapps/ca/ee/ca/enrollMenu.html
@@ -19,6 +19,12 @@
 <html>
 <head>
 <title>Enrollment Menu</title>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <script lang="javascript" src="/ca/ee/dynamicVars.js"></script>
diff --git a/base/ca/shared/webapps/ca/ee/ca/index.jsp b/base/ca/shared/webapps/ca/ee/ca/index.jsp
index bf25a16ad5a46333d7ccc8017d3cced8492ec084..9aa9d6bdc67a0d6472a69028978779a73df9ec8f 100644
--- a/base/ca/shared/webapps/ca/ee/ca/index.jsp
+++ b/base/ca/shared/webapps/ca/ee/ca/index.jsp
@@ -18,8 +18,12 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <html>
 <head>
-<script type="text/javascript" language="JavaScript" src="/pki/js/jquery.js"></script>
-<script type="text/javascript" language="JavaScript" src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 
 <title>CA End-Entity</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
diff --git a/base/ca/shared/webapps/ca/ee/ca/policyEnrollment/index.jsp b/base/ca/shared/webapps/ca/ee/ca/policyEnrollment/index.jsp
index 75fffe901d938ee7a94717137e1fae5b6efb2c7a..6c49dde3a6cea209aa8df48661856eec3cbd3e85 100644
--- a/base/ca/shared/webapps/ca/ee/ca/policyEnrollment/index.jsp
+++ b/base/ca/shared/webapps/ca/ee/ca/policyEnrollment/index.jsp
@@ -20,6 +20,12 @@
 <title>CA End-Entity</title>
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <link rel="shortcut icon" href="/pki/images/favicon.ico" />
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT LANGUAGE="JavaScript"></SCRIPT>
 <script lang="javascript" src="/dynamicVars.js"></script>
 <script lang="javascript" src="../cms-funcs.js"></script>
diff --git a/base/ca/shared/webapps/ca/ee/ca/policyEnrollment/profileMenu.html b/base/ca/shared/webapps/ca/ee/ca/policyEnrollment/profileMenu.html
index 9eabc2262a1ac83b002ac47746da6626eb0859e1..b8d78300a87c327042dc963cf928b3fc83958de3 100644
--- a/base/ca/shared/webapps/ca/ee/ca/policyEnrollment/profileMenu.html
+++ b/base/ca/shared/webapps/ca/ee/ca/policyEnrollment/profileMenu.html
@@ -19,6 +19,12 @@
 
 <head>
 <title>profile Menu</title>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <body bgcolor="#CCCCCC" link="#FFFFFF" vlink="#FFFFFF" alink="#333399">
diff --git a/base/ca/shared/webapps/ca/ee/ca/policyEnrollment/retrievalMenu.html b/base/ca/shared/webapps/ca/ee/ca/policyEnrollment/retrievalMenu.html
index ec39a7a01ddf15854f97bc85db261a0ed223457e..fd465a2b510ec37b2a9701dc7274e6e704305428 100644
--- a/base/ca/shared/webapps/ca/ee/ca/policyEnrollment/retrievalMenu.html
+++ b/base/ca/shared/webapps/ca/ee/ca/policyEnrollment/retrievalMenu.html
@@ -19,6 +19,12 @@
 
 <head>
 <title>Retrieval Menu</title>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 <SCRIPT LANGUAGE="JavaScript"></SCRIPT>
 <script lang="javascript" src="/dynamicVars.js"></script>
diff --git a/base/ca/shared/webapps/ca/ee/ca/policyEnrollment/revocationMenu.html b/base/ca/shared/webapps/ca/ee/ca/policyEnrollment/revocationMenu.html
index fa810e7480b8d87c55fa5682f862bd6f41146ef1..34cd04486a197762fe58ebe5b9e680cc4afc5dc2 100644
--- a/base/ca/shared/webapps/ca/ee/ca/policyEnrollment/revocationMenu.html
+++ b/base/ca/shared/webapps/ca/ee/ca/policyEnrollment/revocationMenu.html
@@ -19,6 +19,12 @@
 
 <head>
 <title>Revocation Menu</title>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 
diff --git a/base/ca/shared/webapps/ca/ee/ca/profileEnrollment/index.jsp b/base/ca/shared/webapps/ca/ee/ca/profileEnrollment/index.jsp
index 478c193adc2fb7e4beaaf430204139510d1c098b..aaac3337fdaf3f4d6b6ab133371a88d81d5311df 100644
--- a/base/ca/shared/webapps/ca/ee/ca/profileEnrollment/index.jsp
+++ b/base/ca/shared/webapps/ca/ee/ca/profileEnrollment/index.jsp
@@ -20,6 +20,12 @@
 <title>CA End-Entity</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 <link rel="shortcut icon" href="/pki/images/favicon.ico" />
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT LANGUAGE="JavaScript"></SCRIPT>
 <script lang="javascript" src="/dynamicVars.js"></script>
 <script lang="javascript" src="../cms-funcs.js"></script>
diff --git a/base/ca/shared/webapps/ca/ee/ca/profileEnrollment/profileMenu.html b/base/ca/shared/webapps/ca/ee/ca/profileEnrollment/profileMenu.html
index 8f19d91b4e8dab32632e2a9b24518bf8e5e60bd0..16fabb9ee4962fcf94be2918cf3037b21dac777a 100644
--- a/base/ca/shared/webapps/ca/ee/ca/profileEnrollment/profileMenu.html
+++ b/base/ca/shared/webapps/ca/ee/ca/profileEnrollment/profileMenu.html
@@ -19,6 +19,12 @@
 
 <head>
 <title>profile Menu</title>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <body bgcolor="#CCCCCC" link="#FFFFFF" vlink="#FFFFFF" alink="#333399">
diff --git a/base/ca/shared/webapps/ca/ee/ca/profileEnrollment/retrievalMenu.html b/base/ca/shared/webapps/ca/ee/ca/profileEnrollment/retrievalMenu.html
index faafe343edeed6b5ee21252ec3dc50d64ad75835..dc7fca3f9c722e348fcd44afd971d9dbbdd6876f 100644
--- a/base/ca/shared/webapps/ca/ee/ca/profileEnrollment/retrievalMenu.html
+++ b/base/ca/shared/webapps/ca/ee/ca/profileEnrollment/retrievalMenu.html
@@ -19,6 +19,12 @@
 
 <head>
 <title>Retrieval Menu</title>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 <SCRIPT LANGUAGE="JavaScript"></SCRIPT>
 <script lang="javascript" src="/dynamicVars.js"></script>
diff --git a/base/ca/shared/webapps/ca/ee/ca/profileEnrollment/revocationMenu.html b/base/ca/shared/webapps/ca/ee/ca/profileEnrollment/revocationMenu.html
index 21f5f43971d6de173d44e6c500d444c5322d22f8..6eaabb9813e7c3e86b214792911e8be95d81c74c 100644
--- a/base/ca/shared/webapps/ca/ee/ca/profileEnrollment/revocationMenu.html
+++ b/base/ca/shared/webapps/ca/ee/ca/profileEnrollment/revocationMenu.html
@@ -19,6 +19,12 @@
 
 <head>
 <title>Revocation Menu</title>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 
diff --git a/base/ca/shared/webapps/ca/ee/ca/profileMenu.html b/base/ca/shared/webapps/ca/ee/ca/profileMenu.html
index b621c230e1d7b6f3633574c0a1f41d3387590003..9d96679e61a37e834e6f897f55ad11b269150510 100644
--- a/base/ca/shared/webapps/ca/ee/ca/profileMenu.html
+++ b/base/ca/shared/webapps/ca/ee/ca/profileMenu.html
@@ -19,6 +19,12 @@
 <html>
 <head>
 <title>profile Menu</title>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <body bgcolor="#CCCCCC" link="#FFFFFF" vlink="#FFFFFF" alink="#333399">
diff --git a/base/ca/shared/webapps/ca/ee/ca/queryBySerial.html b/base/ca/shared/webapps/ca/ee/ca/queryBySerial.html
index 557a1cf171bb5a89b110030e2f4a74f41b2e85a6..6116857cc6b4239df3c451463ab464dc93528f23 100644
--- a/base/ca/shared/webapps/ca/ee/ca/queryBySerial.html
+++ b/base/ca/shared/webapps/ca/ee/ca/queryBySerial.html
@@ -21,6 +21,12 @@
    <title>List Certificates Within a Serial Number Range</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT LANGUAGE="JavaScript"></SCRIPT>
 <script LANGUAGE="JavaScript" SRC="/ca/ee/cms-funcs.js"></script>
 
diff --git a/base/ca/shared/webapps/ca/ee/ca/queryCert.html b/base/ca/shared/webapps/ca/ee/ca/queryCert.html
index 32e2ac64402ba7972e247d51c03de20abee0914d..ec074ff7493947ac6a59df1a3c92fe4f4c9db6ee 100644
--- a/base/ca/shared/webapps/ca/ee/ca/queryCert.html
+++ b/base/ca/shared/webapps/ca/ee/ca/queryCert.html
@@ -21,6 +21,12 @@
    <title>Search for Certificates</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT LANGUAGE="JavaScript"></SCRIPT>
 <script LANGUAGE="JavaScript" SRC="../cms-funcs.js"></script>
 <script LANGUAGE="JavaScript" SRC="../helpfun.js"></script>
diff --git a/base/ca/shared/webapps/ca/ee/ca/queryCert.template b/base/ca/shared/webapps/ca/ee/ca/queryCert.template
index d4a56a79a6667beef1f3822bc59288c7caeb2f11..dcf183d6b1eaf0f4ec8cea6be9ca7853b7ebcae7 100644
--- a/base/ca/shared/webapps/ca/ee/ca/queryCert.template
+++ b/base/ca/shared/webapps/ca/ee/ca/queryCert.template
@@ -21,6 +21,13 @@
 <title>Untitled Document</title>
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
+
 <style type="text/css">
 
 .floating {
diff --git a/base/ca/shared/webapps/ca/ee/ca/reasonToRevoke.template b/base/ca/shared/webapps/ca/ee/ca/reasonToRevoke.template
index 2a608438b1f46b7695a8692ed857ce7de6e07d42..d382d6098e284b22fe7f68e8e4b61bb4d8c5759c 100644
--- a/base/ca/shared/webapps/ca/ee/ca/reasonToRevoke.template
+++ b/base/ca/shared/webapps/ca/ee/ca/reasonToRevoke.template
@@ -21,6 +21,12 @@
 <CMS_TEMPLATE>
 <TITLE>Certificate Revocation Confirmation</TITLE>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT LANGUAGE="JavaScript"></SCRIPT>
 <script LANGUAGE="JavaScript" SRC="/ca/ee/cms-funcs.js"></script>
 <script LANGUAGE="JavaScript" SRC="/ca/ee/helpfun.js"></script>
diff --git a/base/ca/shared/webapps/ca/ee/ca/recoveryMenu.html b/base/ca/shared/webapps/ca/ee/ca/recoveryMenu.html
index c463d2d3dd7015366e95eb3aefd2749bb1ee00a1..be0f41d1ee59e20382b6de90bd6cb2d67fad7b70 100644
--- a/base/ca/shared/webapps/ca/ee/ca/recoveryMenu.html
+++ b/base/ca/shared/webapps/ca/ee/ca/recoveryMenu.html
@@ -19,6 +19,12 @@
 <html>
 <head>
 <title>Recovery Menu</title>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <body bgcolor="#CCCCCC" link="#FFFFFF" vlink="#FFFFFF" alink="#333399">
diff --git a/base/ca/shared/webapps/ca/ee/ca/remoteAuthConfig.template b/base/ca/shared/webapps/ca/ee/ca/remoteAuthConfig.template
index f66f683cf02f2e38766c73c9b7e62e4e8f03aa78..4f1df6459d2e353fef96bd8df02a27d1bf00b1f6 100644
--- a/base/ca/shared/webapps/ca/ee/ca/remoteAuthConfig.template
+++ b/base/ca/shared/webapps/ca/ee/ca/remoteAuthConfig.template
@@ -20,6 +20,12 @@
 <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <CMS_TEMPLATE>
diff --git a/base/ca/shared/webapps/ca/ee/ca/renewalMenu.html b/base/ca/shared/webapps/ca/ee/ca/renewalMenu.html
index ca2956b3377b85b5db2cb4b4594f3b90373c5d82..9a871162935cc5f0372926f42549759f302858e5 100644
--- a/base/ca/shared/webapps/ca/ee/ca/renewalMenu.html
+++ b/base/ca/shared/webapps/ca/ee/ca/renewalMenu.html
@@ -19,6 +19,12 @@
 <html>
 <head>
 <title>Renewal Menu</title>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <body bgcolor="#CCCCCC" link="#FFFFFF" vlink="#FFFFFF" alink="#333399">
diff --git a/base/ca/shared/webapps/ca/ee/ca/requestStatus.template b/base/ca/shared/webapps/ca/ee/ca/requestStatus.template
index a25f5e2ada419cbf515168783e83cf9c4fcd4697..28fb1601c007fdefac5c3c143bce6a78a8ba86b2 100644
--- a/base/ca/shared/webapps/ca/ee/ca/requestStatus.template
+++ b/base/ca/shared/webapps/ca/ee/ca/requestStatus.template
@@ -20,6 +20,12 @@
 <head>
    <title>Request Status</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 <SCRIPT LANGUAGE="JavaScript"></SCRIPT>
diff --git a/base/ca/shared/webapps/ca/ee/ca/retrievalMenu.html b/base/ca/shared/webapps/ca/ee/ca/retrievalMenu.html
index c7d8d13c80832f350b3c9b061151664ca5b1d957..0b11a21dcbff06987a54cadbdcd04eb63cbee81e 100644
--- a/base/ca/shared/webapps/ca/ee/ca/retrievalMenu.html
+++ b/base/ca/shared/webapps/ca/ee/ca/retrievalMenu.html
@@ -19,6 +19,12 @@
 <html>
 <head>
 <title>Retrieval Menu</title>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 <SCRIPT LANGUAGE="JavaScript"></SCRIPT>
 <script lang="javascript" src="/ca/ee/dynamicVars.js"></script>
diff --git a/base/ca/shared/webapps/ca/ee/ca/revocationMenu.html b/base/ca/shared/webapps/ca/ee/ca/revocationMenu.html
index 1b1d19a60e4c53199844337fd764a29c179be9cd..5df84995c319d56002ad912ff826d228f23ebe7e 100644
--- a/base/ca/shared/webapps/ca/ee/ca/revocationMenu.html
+++ b/base/ca/shared/webapps/ca/ee/ca/revocationMenu.html
@@ -19,6 +19,12 @@
 <html>
 <head>
 <title>Revocation Menu</title>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 </head>
 
 
diff --git a/base/ca/shared/webapps/ca/ee/ca/revocationResult.template b/base/ca/shared/webapps/ca/ee/ca/revocationResult.template
index ddcc66198259be26101b668ecb19a5960357d52e..75780443b32a4c67a9dca47b89e8a279036bc963 100644
--- a/base/ca/shared/webapps/ca/ee/ca/revocationResult.template
+++ b/base/ca/shared/webapps/ca/ee/ca/revocationResult.template
@@ -20,6 +20,12 @@
 <HEAD>
 <TITLE></TITLE>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <CMS_TEMPLATE>
 <BODY bgcolor="white">
 <SCRIPT LANGUAGE="JavaScript">
diff --git a/base/ca/shared/webapps/ca/ee/ca/srchCert.html b/base/ca/shared/webapps/ca/ee/ca/srchCert.html
index 2676d2592218d9da1b26dc44e08f130a1e2fb6c5..d38e4c168edcbaab13f4ef81d00949ed97a19e01 100644
--- a/base/ca/shared/webapps/ca/ee/ca/srchCert.html
+++ b/base/ca/shared/webapps/ca/ee/ca/srchCert.html
@@ -21,6 +21,12 @@
    <title>Search for Certificates</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT LANGUAGE="JavaScript"></SCRIPT>
 <script LANGUAGE="JavaScript" SRC="/ca/ee/cms-funcs.js"></script>
 <script LANGUAGE="JavaScript" SRC="/ca/ee/helpfun.js"></script>
diff --git a/base/ca/shared/webapps/ca/ee/ca/srchCert.template b/base/ca/shared/webapps/ca/ee/ca/srchCert.template
index 4213d000a94eb19d12a93029c7483f316756186b..c38bdeb76704ca6fc22380bae22089891d88c217 100644
--- a/base/ca/shared/webapps/ca/ee/ca/srchCert.template
+++ b/base/ca/shared/webapps/ca/ee/ca/srchCert.template
@@ -21,6 +21,13 @@
 <title>Untitled Document</title>
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
+
 <style type="text/css">
 
 .floating {
diff --git a/base/ca/shared/webapps/ca/ee/ca/tabs.html b/base/ca/shared/webapps/ca/ee/ca/tabs.html
index 53977e43f86b8d69e7f47e93d7c3d305a0b3c361..cb1a3e96f82bddb79fcabe63fd194b1a4cb8b216 100644
--- a/base/ca/shared/webapps/ca/ee/ca/tabs.html
+++ b/base/ca/shared/webapps/ca/ee/ca/tabs.html
@@ -21,6 +21,12 @@
 <title>CA End-Entity</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 <link rel="stylesheet" href="/pki/css/pki-theme.css" type="text/css" />
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT LANGUAGE="JavaScript"></SCRIPT>
 <SCRIPT LANGUAGE="JavaScript" SRC="/ca/ee/dynamicVars.js"></SCRIPT>
 <SCRIPT LANGUAGE="JavaScript" SRC="/ca/ee/cms-funcs.js"> </SCRIPT>
diff --git a/base/ca/shared/webapps/ca/ee/ca/toDisplayCRL.template b/base/ca/shared/webapps/ca/ee/ca/toDisplayCRL.template
index 2a158381fa37e8bc7da0acf16f03f373dd434116..69ff50202d7b05aa00ddfff9b825681f405ac329 100644
--- a/base/ca/shared/webapps/ca/ee/ca/toDisplayCRL.template
+++ b/base/ca/shared/webapps/ca/ee/ca/toDisplayCRL.template
@@ -19,6 +19,12 @@
 <HTML>
 <HEAD>
 <TITLE>Review Certificate Revocation List</TITLE>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <SCRIPT LANGUAGE="JavaScript"></SCRIPT>
 
 <SCRIPT LANGUAGE="JavaScript" SRC="/ca/ee/cms-funcs.js">
diff --git a/base/ca/shared/webapps/ca/ee/ca/unrevocationResult.template b/base/ca/shared/webapps/ca/ee/ca/unrevocationResult.template
index b876f6f5f63ea15adc5666ed8b1c7ad7e83e8a78..6612005353022ec6e4eafe9e051a9a85199b3626 100644
--- a/base/ca/shared/webapps/ca/ee/ca/unrevocationResult.template
+++ b/base/ca/shared/webapps/ca/ee/ca/unrevocationResult.template
@@ -20,7 +20,14 @@
 <HEAD>
 <TITLE></TITLE>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <CMS_TEMPLATE>
+</HEAD>
 <BODY bgcolor="white">
 <SCRIPT LANGUAGE="JavaScript">
 //<!--
diff --git a/base/ca/shared/webapps/ca/ee/index.jsp b/base/ca/shared/webapps/ca/ee/index.jsp
index 30662d47aa6a0c3f7aafc03acf16b02cf2ac93bf..eae2da3c25ffaac82c434a5ef5137d9c3d635138 100644
--- a/base/ca/shared/webapps/ca/ee/index.jsp
+++ b/base/ca/shared/webapps/ca/ee/index.jsp
@@ -16,8 +16,16 @@
      All rights reserved.
      --- END COPYRIGHT BLOCK --- -->
 <html>
+<head>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <script lang="javascript">
     // redirect to 'ROOT'
     window.location = "/";
 </script>
+</head>
 </html>
diff --git a/base/ca/shared/webapps/ca/index.jsp b/base/ca/shared/webapps/ca/index.jsp
index 81d6c7a5a388cbab90200b65523e9b9f1d4d4140..333f75632278b5d638cdd2bc19720fc17ed0a7a4 100644
--- a/base/ca/shared/webapps/ca/index.jsp
+++ b/base/ca/shared/webapps/ca/index.jsp
@@ -16,7 +16,15 @@
      All rights reserved.
      --- END COPYRIGHT BLOCK --- -->
 <html>
+<head>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 <script lang="javascript">
     window.location = '/ca/services';
 </script>
+</head>
 </html>
diff --git a/base/ca/shared/webapps/ca/services.template b/base/ca/shared/webapps/ca/services.template
index 0e314b2a781b8a86ab6a3680b44ea7ac81db4a28..a7df0fa69373cad22e34392bffcaaa02b27cd88a 100644
--- a/base/ca/shared/webapps/ca/services.template
+++ b/base/ca/shared/webapps/ca/services.template
@@ -18,8 +18,12 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <html>
 <head>
-<script type="text/javascript" language="JavaScript" src="/pki/js/jquery.js"></script>
-<script type="text/javascript" language="JavaScript" src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/jquery.js"></script>
+<script src="/pki/js/jquery.i18n.properties.js"></script>
+<script src="/pki/js/underscore.js"></script>
+<script src="/pki/js/backbone.js"></script>
+<script src="/pki/js/pki.js"></script>
+<script src="/pki/js/pki-banner.js"></script>
 
 <script type="text/javascript" language="JavaScript">
 $(function() {
-- 
2.9.3

