Pass the full template uri to the theme scripts.