added a js file

Here is the initial commit for the js file that I will be using for
this app