Improved javascript tests call in the package.json