Added javascript generic error message