Jquery ajax call in function return value is #document with result

Jquery ajax call in function return value is #document with result

I need to remove #document tag from this resiult