finally figured out js testing