// Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors
// For license information, please see license.txt

frappe.ui.form.on('Additional Salary Component', {
	setup: function(frm) {
		frm.set_query("salary_component", function() {
			return {
				filters: {
					type: "earning"
				}
			}
		});
		frm.set_query("employee", function() {
			return {
				filters: {
					company: frm.doc.company
				}
			}
		});
	}
});

@@ -289,32 +289,33 @@
 ning%22%0A%09%09%09%09%7D%0A%09%09%09%7D
+;
 %0A%09%09%7D);%0A%09%09frm.set
@@ -413,16 +413,17 @@
 %09%09%7D%0A%09%09%09%7D
+;
 %0A%09%09%7D);%0A%09

Fix - missing semicolon