added a testing .js file