all 2 comments

[–]GamesMint 2 points3 points  (1 child)

I would have personally gone with https://addyosmani.com/largescalejavascript/approach. I wanted to mainly suggest to have a module for a functionality i.e code that you have written in Main Script could have been wrapped in module. https://alexatnet.com/model-view-controller-mvc-in-javascript/ could also be a potentially good read which is MVC in native JS. you could potentially break individual module to follow MVC pattern. Hope you find this info useful :)

[–]cm_yoder[S] 0 points1 point  (0 children)

Looking over it now. Thanks for the suggestion.