update README
improve document.cookie implementation
revert README to the upstream