fix for #410, varibles declared in closures cause ie8 pains