Fixed the javascript parsing error which occurs when the row detail expa...

...nsion returns the not response or call fails