Check the size of the response before appending it to the DOM. Close #177
Merge pull request #346 from dbbrian/check_response_length_before_appending_to_the_dom

Check the size of the response before appending it to the DOM. Close #177