js test issue solved