title: String.format not a function
body: <p>I'm using HTML publisher in hope to have a html page with some javascript codes running on hudson. The HTML code is like this: </p>
  
  <pre><code>&lt;html&gt;
      &lt;head&gt;
  
              &lt;!--Load the AJAX API--&gt;
              &lt;script type="text/javascript" src="https://www.google.com/jsapi"&gt;&lt;/script&gt;
              &lt;script type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.min.js"&gt;&lt;/script&gt;
              &lt;script type="text/javascript" src="../stringformat.js"&gt;&lt;/script&gt;
              &lt;script type="text/javascript"&gt;
  
              ......
  
              sql=String.format("/.csv? select from table where exchange=`ABC......")
  
              &lt;/script&gt;
      &lt;/head&gt;
  </code></pre>
  
  <p>However, after a successful build, my html page doesn't show what it suppose to, and as I check the error console, it says </p>
  
  <pre><code>Error: TypeError: String.format is not a function
  </code></pre>
  
  <p>I have put my stringformat.js into the top folder, as the HTML publisher doesn't seem to allow the file to contain anything other than HTML files.</p>
  
  <p>Can anyone tell me why the String.format is not loaded properly? Thanks!</p>
  
  <p>PS: stringformat.js is the file i got from </p>
  
  <p><a href="http://www.masterdata.se/r/string_format_for_javascript/" rel="nofollow">http://www.masterdata.se/r/string_format_for_javascript/</a></p>
  
  <p>The code should be working properly as this piece of code works outside the hudson</p>