removing unused normalize function, and simplifying some other minor history.js
changing the way rows are selected, since the old way broke links