clearing 'self-executing' anonymous functions