urlParams can be easily referenced through the urlParams.parameter syntax.
Of course, you can also use urlParams['parameter']
All you need to do is place this code in the head of your HTML, and you can reference urlParams in all your scripts
<script src="https://booligoosh.github.io/urlParams/urlParams.js"></script>