added decodeURIComponent for getQueryParameters

I was running into issues using the `getQueryParameters` where the values in the url were not being properly decoded. This change decodes the values before returning them.