instead of inline script tags, we can add a function to the `js.html` template that will locate any elements that need their rate information retrieved (and kick off the ajax request)