Html5Mode has changed to an object in 1.3

I have not run the unit tests or anything, just edited directly on gitHub (and locally in the js file).