Added button counters, fixed lame error with JS being included (and
invoked) multiple times.
Merge branch 'buttons' into source