Fixed js https include and added counter.html template