js fix,last check  still needs attention