social js fix