Removes old/unnecessary script tags.