diff --git a/resources/static/shared/provisioning.js b/resources/static/shared/provisioning.js
new file mode 100644
index 0000000000000000000000000000000000000000..811da933d29b3f53269b83b2718df358e66e7c76
--- /dev/null
+++ b/resources/static/shared/provisioning.js
@@ -0,0 +1,45 @@
+/*jshint browsers:true, forin: true, laxbreak: true */
+/*global BrowserID: true, _: true */
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is Mozilla BrowserID.
+ *
+ * The Initial Developer of the Original Code is Mozilla.
+ * Portions created by the Initial Developer are Copyright (C) 2011
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ *
+ * Alternatively, the contents of this file may be used under the terms of
+ * either the GNU General Public License Version 2 or later (the "GPL"), or
+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
+ * in which case the provisions of the GPL or the LGPL are applicable instead
+ * of those above. If you wish to allow use of your version of this file only
+ * under the terms of either the GPL or the LGPL, and not to allow others to
+ * use your version of this file under the terms of the MPL, indicate your
+ * decision by deleting the provisions above and replace them with the notice
+ * and other provisions required by the GPL or the LGPL. If you do not delete
+ * the provisions above, a recipient may use your version of this file under
+ * the terms of any one of the MPL, the GPL or the LGPL.
+ *
+ * ***** END LICENSE BLOCK ***** */
+BrowserID.Provisioning = (function() {
+  "use strict";
+
+  var Provisioning = {
+
+  };
+
+  return Provisioning;
+}());
\ No newline at end of file
diff --git a/resources/static/test/index.html b/resources/static/test/index.html
index 192c9d03d66c68b00953b0d2d80cdcbf2d3ecbac..a417d34a14e472782afe21a94151bbf3bbe0ef9d 100644
--- a/resources/static/test/index.html
+++ b/resources/static/test/index.html
@@ -101,6 +101,7 @@
     <script type="text/javascript" src="/shared/user.js"></script>
     <script type="text/javascript" src="/shared/tooltip.js"></script>
     <script type="text/javascript" src="/shared/validation.js"></script>
+    <script type="text/javascript" src="/shared/provisioning.js"></script>
     <script type="text/javascript" src="/shared/helpers.js"></script>
 
     <script type="text/javascript" src="/dialog/resources/internal_api.js"></script>
diff --git a/resources/views/dialog_layout.ejs b/resources/views/dialog_layout.ejs
index 97b4076a815c425b7e709126cd46c1b8c5243fe6..3228246bf158f6f047d948bf87111cc3d943384e 100644
--- a/resources/views/dialog_layout.ejs
+++ b/resources/views/dialog_layout.ejs
@@ -68,6 +68,7 @@
           <script type="text/javascript" src="/shared/screens.js"></script>
           <script type="text/javascript" src="/shared/tooltip.js"></script>
           <script type="text/javascript" src="/shared/validation.js"></script>
+          <script type="text/javascript" src="/shared/provisioning.js"></script>
           <script type="text/javascript" src="/shared/network.js"></script>
           <script type="text/javascript" src="/shared/user.js"></script>
           <script type="text/javascript" src="/shared/error-messages.js"></script>
diff --git a/resources/views/layout.ejs b/resources/views/layout.ejs
index 24e8760bb1ec3b00b3b624f59ad8d2e02eea8359..0aa7b9c1fb6ad98cfe749bf3863a3ae97532f6c4 100644
--- a/resources/views/layout.ejs
+++ b/resources/views/layout.ejs
@@ -34,6 +34,7 @@
     <script src="/shared/user.js" type="text/javascript"></script>
     <script src="/shared/tooltip.js" type="text/javascript"></script>
     <script src="/shared/validation.js" type="text/javascript"></script>
+    <script src="/shared/provisioning.js" type="text/javascript"></script>
     <script src="/shared/helpers.js" type="text/javascript"></script>
 
     <script src="/pages/page_helpers.js" type="text/javascript"></script>
diff --git a/scripts/compress.sh b/scripts/compress.sh
index 42208224fccdf5b00bf5bc3605cf5d1b0919ca27..e566890d8522547cb4a4920f54dc6f49f70cb943 100755
--- a/scripts/compress.sh
+++ b/scripts/compress.sh
@@ -54,7 +54,7 @@ cp templates.js $BUILD_PATH/templates.js
 cd ../..
 
 # produce the dialog js
-cat lib/jquery-1.6.2.min.js lib/winchan.js lib/underscore-min.js lib/vepbundle.js lib/ejs.js shared/browserid.js lib/hub.js lib/dom-jquery.js lib/module.js shared/javascript-extensions.js shared/mediator.js shared/class.js shared/storage.js $BUILD_PATH/templates.js shared/renderer.js shared/error-display.js shared/screens.js shared/tooltip.js shared/validation.js shared/network.js shared/user.js shared/error-messages.js shared/browser-support.js shared/wait-messages.js shared/helpers.js dialog/resources/internal_api.js dialog/resources/helpers.js dialog/resources/state_machine.js dialog/controllers/page.js dialog/controllers/code_check.js dialog/controllers/actions.js dialog/controllers/dialog.js dialog/controllers/authenticate.js dialog/controllers/forgotpassword.js dialog/controllers/checkregistration.js dialog/controllers/pickemail.js dialog/controllers/addemail.js dialog/controllers/required_email.js dialog/start.js > $BUILD_PATH/dialog.uncompressed.js
+cat lib/jquery-1.6.2.min.js lib/winchan.js lib/underscore-min.js lib/vepbundle.js lib/ejs.js shared/browserid.js lib/hub.js lib/dom-jquery.js lib/module.js shared/javascript-extensions.js shared/mediator.js shared/class.js shared/storage.js $BUILD_PATH/templates.js shared/renderer.js shared/error-display.js shared/screens.js shared/tooltip.js shared/validation.js shared/network.js shared/user.js shared/error-messages.js shared/browser-support.js shared/wait-messages.js shared/helpers.js shared/provisioning.js dialog/resources/internal_api.js dialog/resources/helpers.js dialog/resources/state_machine.js dialog/controllers/page.js dialog/controllers/code_check.js dialog/controllers/actions.js dialog/controllers/dialog.js dialog/controllers/authenticate.js dialog/controllers/forgotpassword.js dialog/controllers/checkregistration.js dialog/controllers/pickemail.js dialog/controllers/addemail.js dialog/controllers/required_email.js dialog/start.js > $BUILD_PATH/dialog.uncompressed.js
 
 # produce the dialog css
 cat css/common.css dialog/css/popup.css dialog/css/m.css > $BUILD_PATH/dialog.uncompressed.css
@@ -67,7 +67,7 @@ echo '****Building BrowserID.org HTML, CSS, and JS****'
 echo ''
 
 #produce the main site js
-cat lib/jquery-1.6.2.min.js lib/json2.js lib/underscore-min.js lib/ejs.js shared/javascript-extensions.js shared/browserid.js lib/dom-jquery.js $BUILD_PATH/templates.js shared/renderer.js shared/error-display.js shared/screens.js shared/error-messages.js shared/storage.js shared/network.js shared/user.js shared/tooltip.js shared/validation.js shared/helpers.js pages/page_helpers.js pages/browserid.js pages/index.js pages/add_email_address.js pages/verify_email_address.js pages/forgot.js pages/manage_account.js pages/signin.js pages/signup.js > $BUILD_PATH/browserid.uncompressed.js
+cat lib/jquery-1.6.2.min.js lib/json2.js lib/underscore-min.js lib/ejs.js shared/javascript-extensions.js shared/browserid.js lib/dom-jquery.js $BUILD_PATH/templates.js shared/renderer.js shared/error-display.js shared/screens.js shared/error-messages.js shared/storage.js shared/network.js shared/user.js shared/tooltip.js shared/validation.js shared/provisioning.js shared/helpers.js pages/page_helpers.js pages/browserid.js pages/index.js pages/add_email_address.js pages/verify_email_address.js pages/forgot.js pages/manage_account.js pages/signin.js pages/signup.js > $BUILD_PATH/browserid.uncompressed.js
 
 # produce the main site css
 cat css/common.css css/style.css css/m.css > $BUILD_PATH/browserid.uncompressed.css