Update Template.php

added the parameter $initvars to method add_js, to be able to give the included js initial variables: <script type="text/javascript" src="http://example.com/some.js"> variable1 = "foo"; variable2 = "bar"; </script>