Fixed a bug where the queryString passed to getResourceUrl would not be included in the generated URL