I am including pages using Ajax but I also need to include their respective javascript files, which requires removing the previous javascript files from memory at the same time.
How can I unload the currently-loaded javascript files (as well as their code in memory) so that I can load the new page's files? They will more than likely conflict, so having multiple independent files' javascript files loaded.