Enable html5 mode in the console

Reverted this back to include the #, it correctly removes the # when  html5 mode is supported by the browser