Fix javascript tests on master.