Restructure everything to use RequireJS.