Remove HTML tags using jQuery

I will need this simple jQuery code in order to remove some HTML tags as opposed to doing it with CSS.  Because there is a web application I am working on that runs on WordPress, I am making a requirement to have JavaScript enabled in the browser, otherwise the user will be redirected to a static HTML page that suggests to enable JavaScript.

Having said that. Here is the code I am planning to use with which I will be able to remove certain elements that are not necessary.  Even based on the roles and permissions of the user.

See the Pen jQuery Remove by armandoduran (@armandoduran) on CodePen.light