Improve docs and clean code comment.

Add npm version badge.

#8