Updated js testing part 1