Void redundant class chain recursion

if the classInstance is equal to the constructor, don't chain anything

Modified: src/JSNative.c