Refactor disqus module