JavaScript is great, and by all means use it, while also being aware that you can build so many functional UI components without the additional dependancy. Maybe you can include a few lines of utility code, or a mixin, and forgo the requirement. If you're only targeting more modern browsers, you might not need anything more than what the browser ships with. This site is fully copied from youmightn
![You Might Not Need JavaScript](https://cdn-ak-scissors.b.st-hatena.com/image/square/5746b09cd334b19fa1e79141496978f57d7b56b1/height=288;version=1;width=512/http%3A%2F%2Fyoumightnotneedjs.com%2Fshareimg.jpg)