Added test successful message in js file