ummm, Why the thanks.js? looks like its related to another part of the website, since it send Ajax request to many php files
var extraParams = {
'securitytoken' : SECURITYTOKEN,
'do' : 'ajax',
'action' : 'entry',
'varname' : $(this).attr('data-button'),
'contenttype' ...