add second integration test for streaming xhr
slight reorganisation of tests
add a fully end-to-end test
docs
remove unneeded condition
docs
remove redunancy from shared function, bifuricate root/non-root node finding further
reorganise slightly for better minification