diff --git a/views/js/controller/backoffice.js b/views/js/controller/backoffice.js
index <HASH>..<HASH> 100644
--- a/views/js/controller/backoffice.js
+++ b/views/js/controller/backoffice.js
@@ -34,11 +34,7 @@ define([
     'use strict';
 
     function checkAjaxResponse(ajaxResponse) {
-        if (ajaxResponse && ajaxResponse !== null) {
-            return true;
-        } else {
-            return false;
-        }
+        return ajaxResponse && ajaxResponse !== null;
     }
 
     function checkAjaxResponseProperties(ajaxResponse) {
Update views/js/controller/backoffice.js