js test fix