I need to validate the campus phone and CPF, and for this I found the following script link
But when I play here in JSF it does not work. In this I open a new tab from the codepen.io site and I played the same code without changing anything and what happened was that it does not work either.
Take the test.
Does anyone know what's missing to work the same?