fixed isnum() in jspn.c