Added Filters for Success and Failure Messages
Corrected Comment Type

Also slight error in calling js
New Filters Added for Error Messages