buttonMarkup: Make classes unique during enhancement to avoid adding the same class twice.

This correction carries a small performance penalty: http://jsperf.com/buttonmarkup-remove-dupes