Hi Adam,
I suggest you to not create a page before which doesn't have a counter, as with a little modification on jquery or js, just a two line of code, everything work like a charm :
$('body').on('click','#mybutton, function(e) {
// code to start the counter
})
I think it's better to not...