var button = document.getElementById('clicker'),
count = 0;
button.onclick = function() {
count += 1;
button.innerHTML = "click to count: " + count;
};
var reset =
document.getElementById('reset')
reset.onclick = function() {
count = 0;
button.innerHTML = "click to count: " + count;
};