Trim search string before use

The `window.location.search` string includes the "?" symbol.  Without this change, `createFromQueryData` only works if the "renderer" parameter is not in first position (see 4037bafc453a8bde0c6a6508e5f4f385702436c1).