enables html5mode with some tweaked urls