Javascript download counter, and changed javascript function in project/templates/article.html