There is _literally_ nothing wrong with your javascript on the page, FYI. stick with your toolset.
But what happens as you start adding stuff. Toaster notification, user badges, swipe actions.
I an not a JS expert, but it seems a modern library will have these built in ?
EDIT: would be interesting to hear the original poster's opinion
Sounds like an amusing corollary to Zawinski's law. "Every program attempts to expand until it can notify you your toast is done..."