Removing references to deleted javascript assets