s/it's/its/
Lexical scoping & closures are supported starting from Emacs 24.