I don't even know why currentNode was in the global scope...
Merge branch 'master' of https://github.com/ndyakov/js-learn
aka. Why you shouldn't use github\'s editor when you are about to push.