Please note that jshint is happy with doubling the parenthesis, like `while ((node = node.parentNode))`. ;)