text: /* This Source Code Form is subject to the terms of the Mozilla Public
   * License, v. 2.0. If a copy of the MPL was not distributed with this
   * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
   $(document).ready(function() {
      $('#browserid').bind('click', function(e) {
          e.preventDefault();
          navigator.id.getVerifiedEmail(function(assertion) {
              if (assertion) {
                  var $e = $('#id_assertion');
                  $e.val(assertion.toString());
                  $e.parent().submit();
              }
          });
      });
  });
  