adding JS testing