Compatibility changes so that the tests pass in IE

One of the custom event tests for left and right arrow occasionally fails in IE, for reasons that I cannot deduce. Since this is a demo, I’m going to live with it rather than dig into the issue.
Add a (breaking) test to verify that the document’s title is updated on navigation

A touch of TDD: Add a test for a piece of functionality before writing the code to make that test pass
Add logic to update the title on navigation, to pass our breaking test