JSNative: pointer conversions are unsigned long values

Really need to modularize this. As is it doesn't scale well.

Modified: src/JSNative.c