diff --git a/static/js/main.js b/static/js/main.js
index 10371c04..1f347627 100644
--- a/static/js/main.js
+++ b/static/js/main.js
@@ -181,8 +181,8 @@ if (Object.create) {
 			custom: {
 				families: ["FontAwesome"],
 				testStrings: {
-     				"FontAwesome": '\uf004\uf005'
-    			}
+					"FontAwesome": '\uf004\uf005'
+				}
 			},
 			active: function() {
 				console.log("Web fonts loaded.");
diff --git a/static/js/services/alertify.js b/static/js/services/alertify.js
index cbf7c32a..f00e1c67 100644
--- a/static/js/services/alertify.js
+++ b/static/js/services/alertify.js
@@ -108,7 +108,7 @@ define(["angular"], function(angular) {
 				if (!conf ||
 					conf && !conf.type ||
 					conf && !conf.baseType) {
-					throw Error("Custom template not configured correctly.");
+					throw new Error("Custom template not configured correctly.");
 				}
 				var templateUrl = '/dialogs/' + conf.type + '.html';
 				if (conf.template) {
diff --git a/static/js/services/geolocation.js b/static/js/services/geolocation.js
index 5eb7fe19..a9e7ed55 100644
--- a/static/js/services/geolocation.js
+++ b/static/js/services/geolocation.js
@@ -29,8 +29,8 @@ define(['underscore', 'modernizr'], function(_, Modernizr) {
 
 		var defaults = {
 			enableHighAccuracy: true,
-  			timeout: 5000,
-  			maximumAge: 0
+			timeout: 5000,
+			maximumAge: 0
 		};
 
 		return {