Add template file

This script does not go in the footer. It goes in the header just before the closing <head> tag.