created a js file in the js directory

created a js file in the js directory