Backbonification: migrating a large JavaScript project from DOM spaghetti to Backbone.js