Move JS file to tests directory
Update dependencies