added error and success language files

removed some code from server side that was emitting alerts