created testing and js file