Make following modifications as:
Replace
var PIN = $("this").val();withvar PIN = $(this).val();Replace
var dataString = "PIN=" + PIN;withvar dataString = PIN;Replacevar dataString = "PIN=" + PIN;withvar dataString = PIN;Replace
dataType: "json",withdataType: "html",