fix on the destroy function of the js channel class