fixed a bug of `isDocument` function
added `.is` & `.prop` function, update Readme.md, added test case
code style fixes