only print the button box when javascript is on