Browser JS utils in ES2015
running in Google Chrome
const queryString = () =>
Array.from(
((new URL(location))
.searchParams)
.entries())
.reduce(
(obj, [key, value]) => Object.assign(obj, { [key]: value })
, {});
document.documentMode && document.documentMode < 11 && alert("Browser below IE11 is unsupported.");
document.documentMode || console.log("No more IE.");