put error in js test