Bug fix for body-less and head-less responses

Not all responses respond to #body and not all monitorable responses have head tags.
Merge pull request #8 from lumoslabs/js_bug_fix

Bug fix for body-less and head-less responses