The whole point of putting `/product/Firefox/version/XX` in the URL is because it "looks nice" in the address bar. Otherwise it's quite clunky and causes trouble. We don't need this luxury for the AJAX requests. I would change this URL to just be `/gccrashes/json_data/` and pick up `product` and `versions` from `request.GET` instead. 
That solves the problem of having to hardcode `baseUrl` in the javascript code.