Fixes to make test pass and adjust documentation.
* Fix unit tests to be compatible with jslint.
* Update README.md with information about the project.