fixing js test