type="text/javascript">
    window._job = {
      get: function() {
        return {
          // TODO: RFC 822 parsing
          emailAddresses: $('#inputEmailAddresses').val().replace(/^[,\s]+/, '').replace(/[,\s]+$/, '').split(/\s*[,\s]\s*/)
        };
      },
      set: function(o) {
        $('#inputEmailAddresses').val(o.emailAddresses.join(',\n'));
      }
    };
  </script>
</div>

