title: How to return javascript content based on request params
body: <p>I want to return javascript content for client, base on url params. The content of javascript is difference for clients.
  Example: Request URL: <a href="http://example.com/static/js/sites/123456.js" rel="nofollow noreferrer">http://example.com/static/js/sites/123456.js</a>
  will return:</p>
  
  <pre><code>function() {
     var configs = {
        site: 123456,
     }
  }
  </code></pre>
  
  <p>This link show exactly what I want:
  <a href="https://static.hotjar.com/c/hotjar-14.js?sv=6" rel="nofollow noreferrer">https://static.hotjar.com/c/hotjar-14.js?sv=6</a></p>
  
  <p>You can change hotjar-14 to hotjar-15, hotjar-100, hotjar-1000,... to see the JS content will change too. </p>