remove the js widget