Safer, split on any whitespace, cleanups.

Escaping dangerous XSS problems with clean.
Split on /\s/ instead of just whitespace.
Cleaned up to one var, removed trailing spaces, other things.
Fix amp typo.
Merge pull request #1 from btipling/gh-pages

Safer, split on any whitespace, cleanups.