Fixing broken javascript test on master