diff --git a/www/js/controllers/app-controllers.js b/www/js/controllers/app-controllers.js
index 99ddf9a5618906144dc72ae007848278636197c6..98caa2898d771f6572c4d640a4ea59c1e00641c0 100644
--- a/www/js/controllers/app-controllers.js
+++ b/www/js/controllers/app-controllers.js
@@ -507,7 +507,7 @@ function AppController($scope, $rootScope, $state, $ionicSideMenuDelegate, $q, $
         console.error("[home] Error while handle auth data", err);
         return UIUtils.onError('ERROR.AUTH_INVALID_FILE')(err);
       });
-  }
+  };
 
   $scope.registerProtocolHandlers = function() {
     var protocols = ['web+june', /*'june' - NOT yet accepted by web browser */];
@@ -592,7 +592,7 @@ function AppController($scope, $rootScope, $state, $ionicSideMenuDelegate, $q, $
             console.error("[app] Failed to parse as URI: " + (e && e.message || e));
 
             // Try as an auth data
-            return $scope.handleAuthData(data, throwIfError)
+            return $scope.handleAuthData(data, throwIfError);
           })
 
           // Both failed
diff --git a/www/js/services/desktop-services.js b/www/js/services/desktop-services.js
index 3a9bb28825c25f8929b7e1e36dfd28900f666fa2..1237048b8f067cd91171e65ce078cd30cc807033 100644
--- a/www/js/services/desktop-services.js
+++ b/www/js/services/desktop-services.js
@@ -10,5 +10,5 @@ angular.module('cesium.desktop.services', ['cesium.device.services', 'cesium.set
         if (!Device.isDesktop()) return;
         console.info("[desktop-service] Starting desktop service...");
         console.debug("[desktop-service] TODO: manage menu and other specific stuff here");
-      })
+      });
   });