update js event concerning send twitter