I don't know a lot o javascript, using clojurescript instead, but you've piqued my interest, is there any learning resource for that kind of javascript use?
If you really know cljs then you are already doing it in a less kludgy and more elegant/sane way ;)
Have a look at redux's doc for instance, http://redux.js.org/docs/introduction/, and do read the code (it's about 300 lines total), they're both masterpieces of modern JS.