// Easy Way - how to add parameters to url javascript
const MyURL = new URLSearchParams(window.location.search);
MyURL.set('Name', 'HazaaZOOZ');
window.location.search = MyURL;
let params = new URLSearchParams(window.location.search);
console.log(params.get(name));