cleaned code for generating separated lexical environments for every function
cleaned code for generating separated lexical environments for every function

akapav/js,marijnh/js,jimiejosh/js,akapav/js,marijnh/js,marijnh/js,jimiejosh/js,akapav/js,jimiejosh/js