Added the main javascript file

This is the file that we used to generate the counter