Disable html in custom post types

You can restrict the use of tags with Java-script. Before the comment being saved to the database you can trigger an on change event and check the comment text( which is basically a string) for keywords like html using functions like indexOf. Based on the result of the check you can then force the user to comment without using html.

Need help with the code? If not, please share your final solution.