Yep, this is definitely the problem.  This should be changed to:

s.src = '//' + disqus_shortname + '.disqus.com/count.js';