first round of js test changes