passing js test