window.onload = action
var action = document.pesan.action = login();

function login() {
	var nama = document.pesan.nama.value;
	var no-bpjs = document.pesan.no-bpjs.value;
	var name = "Andre Christoga";
	var bpjs-no = "";

	if ((nama == name) && (no-bpjs == bpjs-no)) {
		window.location.href = "rs.html";
		return true;
	};
	else {
		alert("Harap mendaftar terlebih dahulu")
		return false;
	}
}

@@ -125,53 +125,8 @@
 ue;%0A
-%09var no-bpjs = document.pesan.no-bpjs.value;%0A
 %09var
@@ -155,27 +155,9 @@
 ga%22;
-%0A%09var bpjs-no = %22%22;
+%09
 %0A%0A%09i
@@ -177,32 +177,8 @@
 ame)
- && (no-bpjs == bpjs-no)
 ) %7B%0A

Remove no-bpjs components