js fix for members