title: Access asset_host inside javascript for Rails?
body: <p>I have the following javascript (shortened for clarity):</p>
  
  <pre><code>$modal = $('&lt;img src="/assets/loading.gif"&gt;');
  $('body').append($modal);
  </code></pre>
  
  <p>But I am not sure how to access the asset_host within that javascript?  Any suggestions?  (I am trying to not use coffee script)</p>