server js fix