fix js test