Updated README.md and Sample code.

Cleaned up README.md file and updated sample index.html.