diff --git a/www/js/directives.js b/www/js/directives.js
index 536b89535aeb178bbc289916857c8cbce7115268..1fe82e0fe59078a369afa73be23e8850b303ad48 100644
--- a/www/js/directives.js
+++ b/www/js/directives.js
@@ -353,5 +353,5 @@ angular.module('cesium')
         });
       }
     };
-  });
+  })
 ;
diff --git a/www/plugins/es/js/controllers/app-controllers.js b/www/plugins/es/js/controllers/app-controllers.js
index 7f3a49451e60cdd8c2bb36dee2183341057f5b94..4d51aeb388532de59b6efcb2e7a7546247da0521 100644
--- a/www/plugins/es/js/controllers/app-controllers.js
+++ b/www/plugins/es/js/controllers/app-controllers.js
@@ -102,7 +102,7 @@ function ESMenuExtendController($scope, $state, PluginService, esSettings, UIUti
       return csWallet.auth().then(function(){
         UIUtils.loading.hide();
         return $scope.showInvitationsPopover(event); // loop
-      })
+      });
     }
 
     return UIUtils.popover.show(event, {