                      404: function(){
                                        alert("Failed to start probing(see logs)")
                                    }
                                }
                            })
                        }
                        else
                            alert('Hook updated');
                    },
                    404: function(err){
                        alert('Remote error');
                    }
                }
            });
        });

  