deleting old javascript code and adding comments to other javascript code