JS function that validates Chilean RUT