Added some more documentation to README.md.
Quick fix of javascript.