js test scripts