Added support for has_key method for JSObject