Bug 19755: Move template JavaScript to the footer: Acquisitions, part 3