Hopefully fixed the failing JS unit test.