renamed "block" to "function" and cannot have {null:1} in IE8
renamed "block" to "function" and cannot have {null:1} in IE8


Former-commit-id: f2b36703c7d2da167374ecab928b3e279a13a619 [formerly d5a752fe0b922d22b08284d46779baf166c4fc01]
Former-commit-id: f52013dbfe370e78505a1d35b7549ffe4f4b376c
romancow/Sugar,andrewplummer/Sugar,romancow/Sugar,andrewplummer/Sugar