I am testing deleting a topic

There is example on Sentiment analysis using Tensorflow JS.
[TensorFlow.js Example: Sentiment Analysis](https://TensorFlow.js Example: Sentiment Analysis)

Alternate option.
Convert any text classification model into Tensorflow.js compatible using Tensorflowjs converter.

tensorflowjs_converter --input_format keras \                       
                                            path/to/my_model.h5 \                       
                                            path/to/tfjs_target_dir

Follow the steps mentioned Importing a Keras model into TensorFlow.js