various closure techniques with setTimeout()