Refactoring into HTML5.
Separating JavaScript events from markup.
Still tweaking JavaScript.