[js] Completely remove fallback to SWIG_TypeCheck()

This fallback shouldn't be needed, and the abort() call I previously
added shows this never gets exercised by the testsuite at least.
1 file changed