minor js test fix