Indeed. Look at the code for the vanilla js todo example where you have a model, view and controller. start modifying it to add views, an app controller etc.
JavaScript is actually really fun when someone else's crappy framework isn't getting all over it.
Actually these frameworks introduced the concept of modular Javascript by introducing marketing jargons like controllers etc. Prior to that most of the people used JS for validation, pop upunders or... (BBlinks)[https://i.kinja-img.com/gawker-media/image/upload/s--hZcZ5eH...]
JavaScript is actually really fun when someone else's crappy framework isn't getting all over it.