diff --git a/core/js/login/authpicker.js b/core/js/login/authpicker.js
index 6d8a6bb4160f0ba3ab36b105d83fd0bee264dce7..666a63da3655c3a66646bd5cde2e1bd17c892ee9 100644
--- a/core/js/login/authpicker.js
+++ b/core/js/login/authpicker.js
@@ -8,6 +8,8 @@ jQuery(document).ready(function() {
 
 	$('#submit-app-token-login').click(function(e) {
 		e.preventDefault();
-		window.location.href = 'nc://' + encodeURIComponent($('#user').val()) + ':' + encodeURIComponent($('#password').val()) + '@' + encodeURIComponent($('#serverHost').val());
+		window.location.href = 'nc://'
+			+ encodeURIComponent($('#user').val()) + ':' + encodeURIComponent($('#password').val())
+			+ '@' + encodeURIComponent($('#serverHost').val());
 	});
 });
diff --git a/core/js/systemtags/systemtagsinputfield.js b/core/js/systemtags/systemtagsinputfield.js
index 62dae1e0a8fb22f0baf6476ae2b495fc689059a4..ba72d4862047002a197a38ef44a794dc2484397b 100644
--- a/core/js/systemtags/systemtagsinputfield.js
+++ b/core/js/systemtags/systemtagsinputfield.js
@@ -240,7 +240,11 @@
 							self.collection.fetch({
 								success: function(collection) {
 									// find the tag in the collection
-									var model = collection.where({name: e.object.name.trim(), userVisible: true, userAssignable: true});
+									var model = collection.where({
+										name: e.object.name.trim(),
+										userVisible: true,
+										userAssignable: true
+									});
 									if (model.length) {
 										model = model[0];
 										// the tag already exists or was already assigned,