Untangling Spaghetti Code: How to Write Maintainable JavaScriptVanilla JavaScript This article was peer reviewed by Tom Greco, Dan Prince and Yaphi Berhanu. Thanks to all of SitePoint’s peer reviewers for making SitePoint content the best it can be! Almost every developer has had the experience of maintaining or taking over a legacy project. Or, maybe it’s an old project which got picked up again.