client js fix