Make sure only necessary JS is loaded on each page
Add counter