[CDF-369]: Dashboards.getQueryParameter does not correctly match the url query parameters

@pamval please review
It's just used in this function. The variable attribution is made at line 63 (urlParams = {};)