Paper IDs have upto but not exactly 4 digits

Change-Id: I45f5d96fb160db98fdb13170c15e75fd17635ceb
diff --git a/static/main.js b/static/main.js
index 62ccf4e..e2b029c 100644
--- a/static/main.js
+++ b/static/main.js
@@ -45,8 +45,8 @@
     var paper_id = $("#paper_id");
     if ($('#author').is(":checked")) {
         paper_id.removeAttr('disabled');
-        paper_id.attr('placeholder', '0000');
-        paper_id.attr('pattern', '\\d{4}');
+        paper_id.attr('placeholder', '0');
+        paper_id.attr('pattern', '\\d{1,4}');
         paper_id.attr('required', 'required');
         //if (paper_id.attr('oldval').match(/^\\d{4}$/)) {
         //    paper_id.val(paper_id.attr('oldval'));