Put the footer scripts in the block element