diff --git a/citesphere/src/main/webapp/WEB-INF/views/auth/authorities/create.html b/citesphere/src/main/webapp/WEB-INF/views/auth/authorities/create.html
index c1162764f..9fefd6a7c 100644
--- a/citesphere/src/main/webapp/WEB-INF/views/auth/authorities/create.html
+++ b/citesphere/src/main/webapp/WEB-INF/views/auth/authorities/create.html
@@ -2,368 +2,23 @@
+
diff --git a/citesphere/src/main/webapp/WEB-INF/views/auth/group/editItem.html b/citesphere/src/main/webapp/WEB-INF/views/auth/group/editItem.html
index a2fd307c0..d72ea5c73 100644
--- a/citesphere/src/main/webapp/WEB-INF/views/auth/group/editItem.html
+++ b/citesphere/src/main/webapp/WEB-INF/views/auth/group/editItem.html
@@ -1,6 +1,7 @@
+
+
+
-
-
- Error occurred while searching authorities in IsisCB
-
-
-
- | Name | URI | Description | |
-
-
-
-
diff --git a/citesphere/src/main/webapp/resources/authorities/authorities.legacy.js b/citesphere/src/main/webapp/resources/authorities/authorities.legacy.js
new file mode 100644
index 000000000..46bd7ec3a
--- /dev/null
+++ b/citesphere/src/main/webapp/resources/authorities/authorities.legacy.js
@@ -0,0 +1,963 @@
+
+
+var affCount = 0;
+var affiliationTemplate = $($.parseHTML('' +
+ '
' +
+ '
' +
+ '
' +
+ '
' +
+ '' +
+ '' +
+ '
' +
+ '
')
+);
+
+$(document).ready(function() {
+
+ $("#uriLoadingSpinnerAuthor").hide();
+ $("#uriLoadingFailureAuthor").hide();
+ $("#uriLoadingFoundAuthor").hide();
+ $("#searchAuthorSpinner").hide();
+
+ $("#uriLoadingFoundAuthor").popover();
+ $("#uriLoadingFailureAuthor").popover();
+
+ $("#uriLoadingSpinnerEditor").hide();
+ $("#uriLoadingFailureEditor").hide();
+ $("#uriLoadingFoundEditor").hide();
+ $("#searchEditorSpinner").hide();
+
+ $("#uriLoadingFoundEditor").popover();
+ $("#uriLoadingFailureEditor").popover();
+
+ $("#uriLoadingSpinnerCreator").hide();
+ $("#uriLoadingFailureCreator").hide();
+ $("#uriLoadingFoundCreator").hide();
+ $("#searchCreatorSpinner").hide();
+
+ $("#uriLoadingFoundCreator").popover();
+ $("#uriLoadingFailureCreator").popover();
+
+ $("#submitForm").click(function(e) {
+ constructPersonArray("author", "author", 0);
+ constructPersonArray("editor", "editor", 0);
+ var creatorSubmitCount = 0;
+ $(".creator-row").each(function(idx, elem){
+ var ele = $(elem).children().first();
+ if(!(ele.attr("id")=="editor" || ele.attr("id")=="author")) {
+ var roleCount = constructPersonArray("creator", ele.attr("id"), creatorSubmitCount);
+ creatorSubmitCount = creatorSubmitCount + roleCount;
+ }
+ });
+
+ createConceptTags();
+ });
+
+ /* Handle Author events */
+ $("#addAuthorButton").click(function() {
+ savePersonDetails("Author", "Author");
+ });
+
+ $("#addAuthorModalCancel").click(function() {
+ $("#authorModal").modal('hide');
+ resetPersonCreationModal("Author");
+ });
+
+ /* Disable search authority button when first name and last name fields are empty*/
+ $("#firstNameAuthor").keyup(function(e){
+ allowSearchAndAdd("Author");
+ });
+
+ $("#lastNameAuthor").keyup(function(e){
+ allowSearchAndAdd("Author");
+ });
+
+ $("#firstNameEditor").keyup(function(e){
+ allowSearchAndAdd("Editor");
+ });
+
+ $("#lastNameEditor").keyup(function(e){
+ allowSearchAndAdd("Editor");
+ });
+
+ $("#firstNameCreator").keyup(function(e){
+ allowSearchAndAdd("Creator");
+ });
+
+ $("#lastNameCreator").keyup(function(e){
+ allowSearchAndAdd("Creator");
+ });
+
+ $(document).on("click", ".remove-aff", function() {
+ $(this).closest('.aff-entry').remove();
+ });
+
+ $("#searchAuthor").click(function() {
+ searchAuthorities('Author', 'Author');
+ });
+
+ $("#searchEditor").click(function() {
+ searchAuthorities('Editor', 'Editor');
+ });
+
+ $("#searchCreator").click(function() {
+ searchAuthorities('Creator', 'Creator');
+ });
+
+ $(".edit-author").click(function(){
+ var authorItem = $(this).parent();
+ editPerson('Author', authorItem[0]);
+ });
+
+ $(".edit-author").css('cursor', 'pointer');
+
+ $(".remove-author").click(removePerson);
+ $(".remove-author").css('cursor', 'pointer');
+ $(".remove-concept").click(removeConcept);
+ $(".remove-concept").css('cursor', 'pointer');
+
+ $("#addAuthorAffiliation").click(function() {
+ addAffiliation("Author", affCount + 1);
+ });
+
+ $("#addEditorAffiliation").click(function() {
+ addAffiliation("Editor", affCount + 1);
+ });
+
+ $("#addCreatorAffiliation").click(function() {
+ addAffiliation("Creator", affCount + 1);
+ });
+
+ $("#authorIconContainer").on('click', ".popover #authorCreateAuthority", function() {
+ var uri = $("#uriLoadingFoundAuthor").attr('data-authority-uri');
+ importAuthorityURL = "/auth/authority/import?uri="+uri;
+ $.ajax({
+ dataType: "json",
+ type: 'POST',
+ url: importAuthorityURL,
+ data: {csrfParameterName: csrfToken},
+ async: false,
+ success: function(data) {
+ $("#authorCreateAuthority").hide();
+ $("#uriAuthorLocalId").val(data['id']);
+ $("#authorAuthorityUsed").html("Created new authority entry