The only thing that happens is that the source code in the scripts goes away.
The scripts have already been parsed and executed, which creates Javascript objects (e.g. function objects), and those objects doesn't go away when you remove the source code.