title: accessing localized strings in javascript function using jquery-localize
body: <p>I am using jquery-localize plugin for my static web project. I can localize strings in html file, like this: </p>
  
  <pre><code>&lt;p rel=localize[hello]&gt;&lt;/p&gt;
  </code></pre>
  
  <p>But I also need to use localized strings in js functions. 
  How can I correctly access those jquery-localize strings from a function? </p>
  
  <pre><code>alert( localized_strings[hello] ??? );
  </code></pre>
  
  <p>here is the jquery-localize plugin:  <a href="https://github.com/coderifous/jquery-localize/blob/master/README.markdown" rel="nofollow">https://github.com/coderifous/jquery-localize/blob/master/README.markdown</a></p>