remove trailing spaces
remove trailing tabs, keep the javascript coding style consistent
test/index.html:

* remove unneeded type="text/javascript"
* specify charset="iso-8859-1" and lang="en"
* remove unused variables
README.markdown: use more markdown syntax and break a very long line
JSHInt validation