diff --git a/frontend-js/src/main/js/gui/admin/EditGenomeDialog.js b/frontend-js/src/main/js/gui/admin/EditGenomeDialog.js
index 24aded0d9d464743859b1c55fcd80d061ccdf62b..db63e854dc8534215b76cd1b12bf8fada93cf2ce 100644
--- a/frontend-js/src/main/js/gui/admin/EditGenomeDialog.js
+++ b/frontend-js/src/main/js/gui/admin/EditGenomeDialog.js
@@ -285,8 +285,8 @@ EditGenomeDialog.prototype.createGeneMappingTabContent = function () {
     }).then(function (param) {
       if (param.status) {
         return self.getServerConnector().removeReferenceGenomeGeneMapping({
-          mappingId: $(button).attr("data"),
-          genomeId: self.getReferenceGenome().getId()
+          mappingId: $(button).attr("data").toString(),
+          genomeId: self.getReferenceGenome().getId().toString()
         }).then(function () {
           return self.getServerConnector().getReferenceGenome({genomeId: self.getReferenceGenome().getId()});
         }).then(function (referenceGenome) {
@@ -516,6 +516,7 @@ EditGenomeDialog.prototype.init = function () {
 
   var detailsTable = $("[name=detailsTable]", self.getElement())[0];
 
+  // noinspection JSCheckFunctionSignatures
   $(detailsTable).DataTable({
     columns: [{
       title: "Name"
@@ -531,6 +532,10 @@ EditGenomeDialog.prototype.init = function () {
   return self.refresh();
 };
 
+/**
+ *
+ * @returns {Promise}
+ */
 EditGenomeDialog.prototype.refresh = function () {
   var self = this;
 
@@ -563,7 +568,9 @@ EditGenomeDialog.prototype.refresh = function () {
   return self._fillOrganismSelect(genome);
 };
 
-
+/**
+ *
+ */
 EditGenomeDialog.prototype.destroy = function () {
   var self = this;
   var div = self.getElement();
@@ -583,6 +590,9 @@ EditGenomeDialog.prototype.destroy = function () {
   }
 };
 
+/**
+ *
+ */
 EditGenomeDialog.prototype.open = function () {
   var self = this;
   var div = self.getElement();
@@ -603,6 +613,9 @@ EditGenomeDialog.prototype.open = function () {
   $(div).dialog("open");
 };
 
+/**
+ *
+ */
 EditGenomeDialog.prototype.close = function () {
   var self = this;
   $(self.getElement()).dialog("close");