main.js
//Main Javascript file of the plugin function increaseCount(increaseBy){ //Reloads the page and attached the GET request if the counter button is pressed window.location.href = window.location.href.split('?')[0] + "?increaseBy="+increaseBy; }