buttonMarkup: Fixed the jslint error for eval() in codes for PR-#6618.