Fixes JSObject(null)

Was noticing that JSObject(null) was returning a JSObject instead of simply a NoneType, resulting in comparison failures.