testing the js file