Why is all of this moved outside of the block javascript tag? The overall effect is the same except with the JavaScript outside of the block it can no longer be overridden or removed in a template that extends the base template.