diff --git a/frontend-js/src/main/js/Configuration.js b/frontend-js/src/main/js/Configuration.js
index 478c8deb935bace0dd9b62fe72f059642d55cedd..4fea03415fba071f576d59cd328cf06971a691ba 100644
--- a/frontend-js/src/main/js/Configuration.js
+++ b/frontend-js/src/main/js/Configuration.js
@@ -87,14 +87,28 @@ Configuration.prototype.getGitHash = function () {
   return this._gitHash;
 };
 
-
+/**
+ *
+ * @param {string} type
+ * @param {ConfigurationOption} value
+ */
 Configuration.prototype.setOption = function (type, value) {
   this._options[type] = value;
 };
+
+/**
+ *
+ * @param {string} type
+ * @returns {ConfigurationOption}
+ */
 Configuration.prototype.getOption = function (type) {
   return this._options[type];
 };
 
+/**
+ *
+ * @returns {Array}
+ */
 Configuration.prototype.getOptions = function () {
   var self = this;
   var result = [];
diff --git a/frontend-js/src/main/js/minerva.js b/frontend-js/src/main/js/minerva.js
index 65b6dcf08ae9bb8e585d3c9d52deb8df125bb656..2382deb90cb03fbc28eb78235473e53abdb84872 100644
--- a/frontend-js/src/main/js/minerva.js
+++ b/frontend-js/src/main/js/minerva.js
@@ -411,7 +411,7 @@ function create(params) {
       GuiConnector.alert("Some data overlays doesn't have consent to the terms of the <a href='https://cloud.google.com/maps-platform/terms/' target='_blank'>license of Google Maps Platform</a>. To be able to visualize them you must edit data overlay. ")
     }
     if (user.getLogin() !== "anonymous" && !user.isTermsOfUseConsent()) {
-      requestConsent(user, params.getConfiguration().getOption(ConfigurationType.TERMS_OF_USE));
+      requestConsent(user, params.getConfiguration().getOption(ConfigurationType.TERMS_OF_USE).getValue());
     }
     var result = {
       destroy: function () {