#3 added counter and analytics to JavaScript/HTML THM