mbostock/d3 — pull request #1553 by IvanRave (2013-10-01 12:08:38+00:00)
Title: Strict mode: function inside if

Uncaught SyntaxError: In strict mode code, functions can only be
declared at top level or immediately within another function.