fixed js test