Setting html5 mode to true except for IE 9

Trying to use html5mode(true) but not there yet.