Fix undefined index warning in JsHttpRequest.php