Added the ability to add custom Javascript to the footer.