Update README.
Remove CVS Id tags.
Clean up and optimize PHP code.
Clean up and optimize JS.