(bug 18925) history.js removes class names of list elements on initialization. Patch...