Just remove , from your selector:
$(document).on("click","a.cssPauseAll[historyID]", function () {
historyID not a valid attribute, you can use the data-* attribute data-* :
$(document).on("click","a.cssPauseAll[data-historyid]", function () {
undefined
source share