Bug 19709: Move template JavaScript to the footer: Labels