Bug 1071453 - TypeError: redeclaration of variable widgetStartCount