Fixes bug when response or body is undefined in parsePageBody()

This should prevent the bug that causes issue #5.